samedi 1 mai 2021

How can I assign type of List

 var gh = new List<SomeClass>>();

Let's say

   string SomeClass="Car";

How can I intialize this list using only name I am trying to do something like

gh = new <List<Car>>();  




Aucun commentaire:

Enregistrer un commentaire