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 this does not need to implement [int] (indexer) o (1) (basically, access to constant-time), this very recommendation It is done that you do this.


Comments

Popular posts from this blog

c# - ListView onScroll event -

PHP - get image from byte array -

Linux Terminal Problem with Non-Canonical Terminal I/O app -