Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR CSHARP

c# edit element in list

var index = list.FindIndex(c => c.Number == someTextBox.Text);
list[index] = new SomeClass(...);
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #edit #element #list
ADD COMMENT
Topic
Name
9+1 =