how to make a string list c# code example Example 1: make a list c# IList<int> newList = new List<int>(){1,2,3,4}; Example 2: list c# list<string,string