WHY USE WHERE CLAUSE BEFORE SELECT STATEMENT IN LINQ 3.5
2 Answers
Know the answer? Post it. Somebody with the same question will find it here.
Know the answer? Post it. Somebody with the same question will find it here.
Answer a question in the forums and earn +20 SHARP for every answer.
See unanswered questions
DevSocialUpcoming · 3rd editionAI Agents ConferenceDec 1–3, 2026Live onlineFree to attend5days leftRegister
Mahesh ChandRank #1 · 393.3K reputationPosted Aug 26, 2010, 9:44 AM EDT
Mike GoldRank #50 · 30.6K reputationPosted Aug 26, 2010, 5:58 PM EDT
var collection = new int[]{1, 2, 3, 4, 5, 6};
var itemsGreaterThan3 = collection.Where(x => x > 3);