c# edit 1 object in a list code example
Example: c# edit element in list
var index = list.FindIndex(c => c.Number == someTextBox.Text);
list[index] = new SomeClass(...);
var index = list.FindIndex(c => c.Number == someTextBox.Text);
list[index] = new SomeClass(...);