C# code for matching item for specified condition

Amatya
Posted by Amatya under C# category on | Points: 40 | Views : 583
C# code for matching item for specified condition
var dnfLst_1 = new List<int>() { 50, 20, 10, 60, 40 };
var dnfLst_2 = dnfLst_1.FindAll(x => x > 40);



dnfLst_2 50, 60

Comments or Responses

Login to post response