how to search data in list C# code example Example: list search c# list.Where(x => x.Name == "theName"); return list;