where string in list C# code example Example: c# list string where fileList.Where(item => filterList.Contains(item))