There is a user class inheriting from List
class EpochCollection:List<Epoch> How can I correctly implement the GetRange (int, int) method GetRange (int, int) in the EpochCollection so that it creates a new instance of the EpochCollection , with the part corresponding to the list cut off according to the specified bounds, and took the part of the class that I defined in the EpochCollection from the original object without modification?
Or, instead of inheriting from List preferable to describe your own collection, just as described here .