I want to invoke Queryable.Where()
and get all elements. There's no version of Where()
that works without a predicate function. So I have to right this:
var result = table.Where( x => true );
and it works but that feels really stupid to me - x
is never used, and there's no "transformation" for the =>
"arrow" symbol.
Is there a more elegant solution?