【转载】#323 - A Generic Class is a Template for a Class
摘要:
A generic classs is a class that takes one or more type parameters, which it then uses in the definition of the class. It can be thought of as a template for a class.1 public class ThingContainer2 {3 private TParam theThing;4 5 public void SetThing(TParam newValue)6 {7 theThing = newValue;... 阅读全文
posted @ 2014-03-11 10:53 yuthreestone 阅读(280) 评论(0) 推荐(0) 编辑