[FxCop.设计规则]7. 集合类应该实现泛型接口[7]

[入库:2005年8月18日] [更新:2007年3月24日]

本文简介:选择自 cajon 的 blog

   {

      static void main()

      {

         integercollection intcollection = new integercollection();

 

         // the following line would generate a compiler error.

         //stack<int> integerstack = new stack<int>(intcollection);

 

         genericintegercollection genericintcollection =

            new genericintegercollection();

本文关键:[FxCop.设计规则]7. 集合类应该实现泛型接口
  相关方案
Google
 

本站最佳浏览方式为 分辨率 1024x768 IE 6.0(或更高版本的 IE浏览器)

go top