Danica Stone
0
Q:

c# add list to list

var list = new List<string>();
list.Add("Hello");
12
//Declaring that its a list
List<string> test = new List<string>(); 
test.Add("Hello")
10
List<string> initialList = new List<string>();
// Put whatever you want in the initial list
List<string> listToAdd = new List<string>();
// Put whatever you want in the second list
initialList.AddRange(listToAdd);
0
GlobalStrings.AddRange(localStrings);
0

New to Communities?

Join the community