Blog First. Ask Questions Later.
I'm on a quest to find the “Perfect“ collection template - my goal is to create a ReSharper LiveTemplate once I do, so I can easily add them to my projects. Of course, perfect is relative to the task at hand, but I want a good, simple all purpose collection template that I can use for the time being, until Generics are a reality.
As I've been poking around, I've come across some good links. If you're new to collections, these may help get you oriented:
Overviews
Strongly Typed Collection
Getting to know the .NET collections
CollectionBase Class (.NET Framework)
Code
Creating Strongly Typed Custom Collections in C#
Take advantage of strongly typed collection classes in .NET (VB)
CodeGuru: Implementing Strongly Typed Collection (VB)
Tools
Strongly Typed Collection Wizard - A Web-Based Tool for generating Collections
Strongly Typed Collection Builder Addin for VS.NET 2003
CodeSmith Support Forum > File Share > Collection Templates - Entire forum dedicated to collections with CodeSmith
Related Topics
A generic sorter for strongly-typed collections
Sort and Filter Strongly-Typed Collection Classes
About Brendan Tompkins
Brendan has been programming with .NET since the first public beta and is owner and operator of Port Technology Services, a consultancy company providing .NET application development services to the Maritime industry. In July, 2007, he was awarded the Microsoft MVP award for ASP.NET.
He's also a proud co-founder of failed .COM startup Intrinsigo, and has had a hand in the failure of numerous other businesses.
He currently runs CodeBetter.Com and Devlicio.us, and lives in Norfolk, Virgina with his wife Tiara and son Ian.