I have a list of objects. These objects have three variables, ID, Name, & value. There can be a lot of objects in this list, and I need to find one based on the ID or Name
var find = TextPool.FirstOrDefault(x => x.Name == "test"); if (find != null) { find.Name = "Value"; }