Generics and .NET 2.0
I gave a web cast a few weeks back on the new features of .NET 2.0 and the most asked question was around generics in .NET 2.0. Consequently, I thought I would throw up a few code samples and pretend to be uncommonly intellegent. Sooo ......
Then I checked MSDN to be sure I wasn't reinventing the wheel, and well, I was. So instead of sharing some of my shiny intellect and putting together a few poor code samples. I'll publish a few links. Here is a page I found on MSDN that does exactly what I wanted to do:
http://msdn.microsoft.com/vcsharp/2005/overview/language/generics/
And of course a link to Anders talking about Generics in .NET 2.0:
http://www.artima.com/intv/genericsP.html
In case it's not coming across clearly, generics are not a new idea, but when an enhancement to a language like this comes along, it's too good to be overlooked. In a nutshell, with generics you write a tiny bit less code when working with collections and get improved performance in a single whack, (at least in .NET ). Not too shabby and a very good reason to spend few minutes enlightening yourself.
Comment Notification
If you would like to receive an email when updates are made to this post, please register here
Subscribe to this post's comments using