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