c# - Implementing IList interface -
I'm new to generic, I'll call it IList & lt; T & gt;
From the interface, I want to apply my own collection.
Can you please provide me some links for a class which is IList & lt; T & gt;
Interface or provide me a code that applies at least add
and remove
methods?
Unless you have a strong reason to do this, your best The condition will be derived from the system. Collections.ObjectModel.Collection & lt; T & gt;
Please note that IList
(indexer) o (1) (basically, access to constant-time), this very recommendation It is done that you do this.
Comments
Post a Comment