IList<string> stringList = new List<string>() code example
Example 1: c# new list object
var intList = new List<int>();
Example 2: decalre an int list mvc
List<int> intList = new List<int>();
var intList = new List<int>();
List<int> intList = new List<int>();