Welcome to MSDN Blogs Sign in | Join | Help

Wednesday, February 16, 2005 - Posts

Generic type parameter variance in the CLR

When people start using C# generics for the first time, they are sometimes surprised that they can’t convert between related generic instances. For example, since you can convert a string to an object , shouldn’t you also be able to convert a List <string>
Posted by rmbyers | 19 Comments
Filed under: ,
 
Page view tracker