Answers for "edit 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

C# Answers by Framework

Browse Popular Code Answers by Language