Java AbstractList
class is very convenient when you need to implement the List
interface whithout having to code everything from scratch.
Now, in C#, I need to implement a view on a part of my datamodel that would implement IList
.
Is there an abstract class in .Net that I could inherit, in the same way that I would extend AbstractList
if it was in Java ?
您正在寻找System.Collections.ObjectModel.Collection<T>
。
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.