c# edit element in list
var index = list.FindIndex(c => c.Number == someTextBox.Text);
list[index] = new SomeClass(...);
Are there any code examples left?
New code examples in category C#
var index = list.FindIndex(c => c.Number == someTextBox.Text);
list[index] = new SomeClass(...);