int[] ar = new int[] { 1, 5, 2, 4, 7 };
var v = ar.First(x => x > 7);
MessageBox.Show(v.ToString());
It is not throwing any exception , why ?
i Want it to throw an exception but how?
FirstOrDefault operator in LINQ
1 Answer
Know the answer? Post it. Somebody with the same question will find it here.

brunda kRank #3,804 · 389 reputationPosted Mar 15, 2013, 10:38 PM EDT