CBuilder:
把函数的类型约束where K : class, T 改为 where K : class 会更好.
[阅读: 1441] 2008-07-16 06:28:29
public IEnumerable<K> GetEnumerator<K>() where K : class, T
......
public ICollection<K> GetItems<K>() where K : class, T
......
public K First<K>() where K : class, T
......
改为:
public IEnumerable<K> GetEnumerator<K>() where K : class
......
public ICollection<K> GetItems<K>() where K : class
......
public K First<K>() where K : class
......
拒绝显摆。