carlAlex
8/24/2016 - 12:51 PM

C# List

C# List

string result = list.FirstOrDefault(s => s.Contains(srch));


var resultList = list.FindAll(delegate(string s) { return s.Contains(srch); });