IList represent a non-generic collection for collection of objects. If you use IList you can create customized Lists and use advantages of DIP (Dependency Inversion Principle) of OOP.
SimpleList<T> : IList<T>
{
...
}
IList<T> list1 = new List<T>();
IList<T> list2 = new SimpleList<T>();
IList represent a non-generic collection for collection of objects. If you use IList you can create customized
Lists and use advantages of DIP (Dependency Inversion Principle) of OOP.You behave same with these two kind of lists.