List or BusinessObjectCollection?

后端 未结 18 1148
庸人自扰
庸人自扰 2020-12-23 11:11

Prior to C# generics, everyone would code collections for their business objects by creating a collection base that implemented IEnumerable

IE:

publi         


        
18条回答
  •  轻奢々
    轻奢々 (楼主)
    2020-12-23 11:27

    If you choose to create your own collection class you should check out the types in System.Collections.ObjectModel Namespace.

    The namespace defines base classes thare are ment to make it easier for implementers to create a custom collections.

提交回复
热议问题