摘要:
工作需要,写个泛型池,线程安全,分享一下。View Code 1 using System; 2 using System.Collections.Generic; 3 using System.Linq; 4 5 namespace Ch.Common 6 { 7 public class Pool<T> where T: class,new() 8 { 9 /// <summary> 10 /// 对象容器 11 /// </summary> 12 protected T[] Contai... 阅读全文
posted @ 2012-08-18 15:36
亚尔斯兰
阅读(157)
评论(0)
推荐(0)

浙公网安备 33010602011771号