I want to create my own class that inherit from ArrayList. (I want to add some functionality that I need to the ArrayList)
I want my MyArrayList to still be geneirc, means - MyArrayList.
How can I do that?
thanks
I want to create my own class that inherit from ArrayList. (I want to add some functionality that I need to the ArrayList)
I want my MyArrayList to still be geneirc, means - MyArrayList.
How can I do that?
thanks
IF you want generic list than its better to make use of List<T>
.
And to add extra function you can make use of extension methods