摘要
在C#2.0的软件开发中广泛地使用了泛型集合和非泛型集合,合理地选用泛型集合和非泛型集合对所开发系统的安全性和效率将产生极大的影响。通过对泛型集合和非泛型集合在以上两方面的分析,并结合自己的软件开发经验,提出了合理选用泛型集合和非泛型集合的策略。实验表明,在使用C#2.0的过程中,应尽量使用泛型集合。
In the software development of C#2.0, generic collections and non-generic collections are widely used, reasonably to use generic collections and non -generic collections, it will have a significant impact on security and efficiency of developed system . Through the analysis of the generic collections and non-generic collections in above two aspects and with own software development experience, it makes a reasonable selection of generic collections and non-generic collections strategy. Experimental results show that it should make full use of generic collections in the process of using C#2.0.
出处
《微计算机信息》
2010年第27期171-173,62,共4页
Control & Automation
关键词
C#2.0
泛型集合
非泛型集合
C#2.0
generic collections
non-generic collections