Usage of keywords "in" and "out" in C#(.NET 4.0)
摘要:Variance will only be supported in asafeway - in fact, using the abilities that the CLR already has. So the examples I give in the book of trying to use aList<Banana>as aList<Fruit>(or whatever it was) still won't work - but a few other scenarios will.Firstly, it will only be support
阅读全文
posted @
2011-09-29 15:55
wbqsln
阅读(243)
推荐(0) 编辑