import list in c# code example Example: C# list Click to copyList<string> myListOfStrings = new List<string> { "this", "is", "my", "list" };