C# code of creating List

Posted by Amatya under C# category on | Points: 40 | Views : 1117
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>();


Comments or Responses

Login to post response