[Yes, this is a cross post]
If you are reading about C# 2005, you've no doubt at least heard of generics. (While generics work with
VB too, I think most generics users initially come from a C# background.) Still wondering what generics are? How to make the transition to thinking in generics? From the best-kept secret in .NET 2.0 Programming,
Professional .NET 2.0 Generics, Tod Golding's excerpt
Understanding Generic Classes helps you make the transition to writing your own generic types. Here's the beginning of the excerpt:
Many developers will view themselves primarily as consumers of generics. However, as you get more comfortable with generics, you're likely to find yourself introducing your own generic classes and frameworks. Before you can make that leap, though, you'll need to get comfortable with all the syntactic mutations that come along with creating your own generic classes. Fortunately, you'll notice that the syntax rules for defining generic classes follow many of the same patterns you've already grown accustomed to with non-generic types. So, although there are certainly plenty of new generic concepts you'll need to absorb, you're likely to find it quite easy to make the transition to writing your own generic types.
Read the
rest of the excerpt here.
Jim Minatel
Senior Acquisitions Editor
Wiley Technology Publishing
WROX Press
Blog:
http://wroxblog.typepad.com/
Jim's Book of the week:
No book this week - Donate to the Red Cross!