Ray's playground

 

2010年5月23日

Creating Types in C#(Chapter 3 of C# 4.0 in a nutshell)

摘要: Assuming S subclasses B, type X is covariant if X<S> allows a reference conversion toX<B>.As of C# 4.0, generic interfaces permit covariance (as do generic delegates), but generic classes ... 阅读全文

posted @ 2010-05-23 01:50 Ray Z 阅读(218) 评论(0) 推荐(0) 编辑

导航