using System.Collections.Generic;具体的代码发出来看看吧 

解决方案 »

  1.   

    正常转,都会自动添加上using System.Collections.Generic;的  
    所以还是发代码吧,可能某些语句无法转 。
      

  2.   


    应该是你的引用中没有System.Collections的引用吧??
      

  3.   

    using System.Collections.ObjectModel;
      

  4.   

    Microsoft.VisualBasic命名空间中
      

  5.   

    详情参见微软MSDN链接:System.Collections.ObjectModel 命名空间System.Collections.Generic 命名空间
    System.Collections 命名空间
      

  6.   

    Collection 泛型类从以上链接可以知道,Collection位于程序集:mscorlib(在 mscorlib.dll 中)
    就是要引用也是System.Core,
    新建应用程序的时候,这个库是默认加载引用的,
    当然楼主也可以查看一下,看是否加载了
      

  7.   

    楼主,请收藏这个链接http://msdn.microsoft.com/zh-cn/library/ms123401.aspx
    很多时候,在msdn里搜索能更快更有效地找到答案
      

  8.   

    System.Collections.Generic.ICollection
      

  9.   

    Collection<T>是一个泛型类,其命名空间为System.Collections.ObjectModel,其实现了接口ICollection<T>,该接口的命名空间为System.Collections.Generic。
    Collection是一个非泛型类,其命名空间为Microsoft.VisualBasic,程序集为Microsoft.VisualBasic.dll ,其实现了接口ICollection,该接口的命名空间为System.Collections