Answers for "remove multiple items from list c#"

C#
2

remove items from list c# condition

prods.RemoveAll(s => s.ID == 1)
Posted by: Guest on May-20-2020
0

remove from list based on condition c#

List<Int32> prods = GetListFromSever();
prods.RemoveAll(s => s.ID == 1)
Posted by: Guest on June-24-2020
0

remove multiple items from list c#

MyList.RemoveAll(t => t.Name == "ABS" || t.Name == "XYZ" || t.Name == "APO");
Posted by: Guest on June-09-2021

Code answers related to "remove multiple items from list c#"

C# Answers by Framework

Browse Popular Code Answers by Language