Welcome to EMC Consulting Blogs Sign in | Join | Help

Browse by Tags

All Tags » c# » generic list
  • Extension methods for generic lists

    A while back (has it been two years already?) I wrote about using the new generics feature in C# to make strongly typed lists, and subclassing generic lists as a way of making lists that are both strongly typed and have  type-specific methods attached, and doing it  with the bare minimum of coding effort. This technique is not widely ...
    Posted to Anthony Steele's Blog (Weblog) by Anthony.Steele on November 28, 2008
  • Generic lists

    I have spent a fair amount of time in the past writing business objects, and as soon as we'd made a "Widget" class we needed a "WidgetList" class. I got pretty practiced at throwing these lists out quickly since they were all the same. Depending on the particular project's design decision, we'd encapsulate or ...
    Posted to Anthony Steele's Blog (Weblog) by Anthony.Steele on November 15, 2006
Powered by Community Server (Personal Edition), by Telligent Systems