lundi 25 septembre 2017

What means suffix '1 in the Generic Class name

There's a class

 class A
 {
     public List<string> lst;
     public string str;
 }

After

A a = new A();
//and
string Q == a.GetType().GetFields()[0].FieldType.Name;

Then the result in Q is "List'1". Q - What is '1?





Aucun commentaire:

Enregistrer un commentaire