Let us say I have this code
string seachKeyword = \"\";
List sl = new List();
sl.Add(\"store\");
sl.Add(\"State\");
sl.Add(\"STAM
Below method will search your needed keyword and insert all searched items into a new list and then returns new list.
private List serchForElement(string searchText, list ListOfitems)
{
searchText = searchText.ToLower();
List Newlist = (from items in ListOfitems
where items.ToLower().Contains(searchText.ToLower())
select items).ToList();
return Newlist; }