interface里面的method都不是virtual的吧

解决方案 »

  1.   

    ICollection : IEnumerable只是表示ICollection实现了IEnumerable接口吧,并没有派生关系
      

  2.   

    IList只是继承了ICollection,没有直接继承IEnumerable,
    是MSDN的表示方法有问题。
      

  3.   

    IList : ICollection, IEnumerable
    guarantees that IList is a ICollection, is a IEnumerablealthough ICollection itself is a IEnumeration, it still does not hurt.Just like I say: You are a man; you are a human. Even though "man" is a "human", it still does not hurt my logic, right?