摘要:
先贴下Nullable<T>简单实现: 1 [Serializable] 2 public struct Nulllable<T> where T : struct 3 { 4 private Boolean hasValue = false; 5 internal T value = default(T); 6 public void Nullable(T value) 7 { 8 this.value = value; 9 this.hasValue = true;10 }11 public Boolean HashValue12 {13 g... 阅读全文
posted @ 2011-12-17 21:26
Skolley
阅读(985)
评论(2)
推荐(0)
浙公网安备 33010602011771号