Tony J Watson
0
Q:

c# how to set string list

// Create a list of strings using 'new List<string>{}'
List<string> stringList = new List<string>{"string1", "string2"};
5
var list = new List<string> {
  "test1",
  "test2",
  "test3"
};
2
// This will create a new list called 'nameOfList':
var nameOfList = new List<string> 
{
  "value1",
  "value2",
  "value3"
};
1
fileList.Where(item => filterList.Contains(item))
0

New to Communities?

Join the community