var dnfnum = new List<int> { 10, 20, 30, 40, 50 };int dnfsum = (from x in dnfnum select x).Sum(); // sum: 150
Login to post response