Generic Types and Inheritance
Posted by: Rick Strahls WebLog,
on 18 Aug 2009 |
View original | Bookmarked: 0 time(s)
Although I use Generics extensively, every once in a while it still throws me for a loop when dealing with complex generic parameters and inheritance. I recently ran into a situation where I needed to created a class hierarchy and needed to inherit generic parameters. Generics are great and for this particular implementation the simple base->specific type inheritance makes it really easy to define the business object classes without each instance having to specify the generic template types. ...