Answers for "how to edit the [] of a list c#"

C#
2

c# edit element in list

var index = list.FindIndex(c => c.Number == someTextBox.Text);
list[index] = new SomeClass(...);
Posted by: Guest on March-23-2020
0

how to edit a c# list

list[indexToEdit] = newItem;
Posted by: Guest on March-26-2020

Code answers related to "how to edit the [] of a list c#"

C# Answers by Framework

Browse Popular Code Answers by Language