Answers for "how to declare list of string in c#"

C#
10

c sharp list of strings

// Create a list of strings using 'new List<string>{}'
List<string> stringList = new List<string>{"string1", "string2"};
Posted by: Guest on February-20-2020
10

make a list c#

IList<int> newList = new List<int>(){1,2,3,4};
Posted by: Guest on December-23-2019

Code answers related to "how to declare list of string in c#"

C# Answers by Framework

Browse Popular Code Answers by Language