1.可空类型
声明使用System.Nullable<int> a或者是int? a来声明,可空类型是指能够代表实际的数值或者是null。注意下面的转换
int? a = 5;
int b = (int)a * 5;
int? a = null;
int b = a * 5 ?? 5;
2.using System.Collections.Generic;
list<T> reference to
http://msdn.microsoft.com/zh-cn/library/6sh2ey19.aspx
directory <T, K> reference to
http://msdn.microsoft.com/zh-cn/library/xfhwa508.aspx
3.定制自己的泛型类
未完,待续。。。