c# edit element in list

57

c# edit element in list -

var index = list.FindIndex(c => c.Number == someTextBox.Text);
list[index] = new SomeClass(...);

Comments

Submit
0 Comments