Simple Variance

The SimpleVariance sample program shows VB 10.0 support for covariance and contravariance when using generic types in delegates and interfaces. In VB 9.0 generic types were invariant. As a result, this sample compiles fine in VB 10.0, while it does not compile in previous...

2,336 times
Add to favorites
E-mail Twitter Digg Facebook
Click an item in the panel on the left to view the contents here.