Skip to main content
Journey Uncommon Logo
JourneyUncommon
easyC#LINQ Where and SelectSingle-choice MCQ

A LINQ query built with Where and Select is stored in a variable but never enumerated (no foreach, ToList, etc.). What happens?

var query = source.Where(x => x > 0).Select(x => Transform(x)); // query is never iterated