List_IList2
Code : List_IList2.txt
Objectives :
  • IList<T> Interface  System.Collections.Generic
  • List<T> class : System.Collections.Generic
Data Source:

Code: to retrieve the data

	static void readT(IList list)
        {
       foreach (string val in list)
        {
          Console.WriteLine("IList Value:" + val.ToString());
        }
        }
 
;