C# code of creating List

Amatya
Posted by Amatya under C# category on | Points: 40 | Views : 372
List can be created of any type because it is of generic type, so here are the example to create List
var dnfLst_1 = new List<object>();
var dnfLst_2 = new List<DNF>();
var dnfLst_3 = new List<int>();


Thanks

Comments or Responses

Login to post response