|
Generics of C#
<T> indicates the type in the class table
You can use AarryList instead, eg:
AarryList list=new AarryList();
List.Add(1);
List.Add(2);
with
List<int> list=new List<int>();
List.Add(1);
List.Add(2);
it's the same
There is only a difference when converting:
Generics do not need to be converted, if you want to take List[0]
int i=List[0];
And AarryList:
int i=(int)List[0]; |
|