CharlesChen's Technical Space

简单实用是我一直在软件开发追求的目标(I Focus on. Net technology, to make the greatest efforts to enjoy the best of life.)
Not the best, only better
  博客园  :: 首页  :: 联系 :: 订阅 订阅  :: 管理

2008年6月11日

摘要: 在项目中通过对项目不断更深的认识,运用了设计模式,就难免不运到开箱和装箱操作,通常的开箱和装箱操作对系统的性能有一定的影响。为了解决这一个问题,其中一种解决方案是运用泛型来解决。下面是C#2.0泛型的简单介绍和使用,便于在项目中灵活运用. 一、C#泛型演示 class Stack { private T[] store; private int size; public Stack... 阅读全文

posted @ 2008-06-11 12:18 Charles Chen 阅读(2339) 评论(2) 推荐(1) 编辑