List_IList1.htm
Code : List_IList1.txt
System.Collections.Generic
  • System.Collections.Generic
  • IList<T>  : Is an interface in "System.Collections.Generic namespace"
 
An unorthodox way of distinguishing ,  objects lineage, and inheritance.  By accidents I used same variable names  for two different List<TYPE> declarations. 

In the  screen shot below, we notice a conflict  having a  same variable name two generic List<T> declarations., and it was accepted. Also note that, after adding some data in "List<string> elist" object, "elist.sort()" recognized the object as a local variable of List<ObjectFactory>.

However, the parameter object "elist" fo read method,

 

 
Further, note the separations of the objects

Summering above two images: