var dnfList = new List<int> { 10, 20, 30, 40 };int dnfMax = (from dnf in dnfList where dnf < 25 select dnf).Max();
Login to post response