Answers for "c# list replace item"

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

C# Answers by Framework

Browse Popular Code Answers by Language