jeudi 29 décembre 2016

how to create List

I have model name like

UserModel

i want create List of UserModel by string variable with "UserModel" value like

string className = "UserModel";
List<className> users = new List<className>();

thanks





Aucun commentaire:

Enregistrer un commentaire