摘要: where T : class, T必 须是引用类型参数where T : Struct, T必须是值类型where T : Interface, T必须指定的Interface接口或者实现了该接口的接口where T : BaseClass, T必须继承基类或者是其本身where T : New(), T必须有无参构造函数有多个约束的时候置于末尾 阅读全文
posted @ 2012-09-26 12:33 |丶Edmond 阅读(129) 评论(0) 推荐(0)