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. ...

Advertisement
Free Agile Project Management Tool from Telerik
TeamPulse Community Edition helps your team effectively capture requirements, manage project plans, assign and track work, and most importantly, be continually connected with each other.
Category: SQL | Other Posts: View all posts by this blogger | Report as irrelevant | View bloggers stats | Views: 1219 | Hits: 61

Similar Posts

  • Introduction to HealthvaultDevelopment #11: Data filtering more
  • Generic WPF Drag and Drop Adorner more
  • April's Toolbox Column Now Online more
  • XML serialization using generics more
  • Describing RESTful applications more
  • new Repository<T>().DoMagic() more
  • New ASP.NET Charting Control: <asp:chart runat="server"/> more
  • Back to Basics: Generics more
  • Single Letter Variable Names Still Considered Harmful more
  • Writing a .NET Security Exploit PoC more

News Categories

.NET | Agile | Ajax | Architecture | ASP.NET | BizTalk | C# | Certification | Data | DataGrid | DataSet | Debugger | DotNetNuke | Events | GridView | IIS | Indigo | JavaScript | Mobile | Mono | Patterns and Practices | Performance | Podcast | Refactor | Regex | Security | Sharepoint | Silverlight | Smart Client Applications | Software | SQL | VB.NET | Visual Studio | W3 | WCF | WinFx | WPF | WSE | XAML | XLinq | XML | XSD