Compiler Error CS1933
Visual Studio 2012
Expression cannot contain query expressions
Some variables cannot be initialized with a query expression. Constants cannot be initialized with query expressions because constants may only be initialized with some combination of literals, named constants, and mathematical operators.
To correct this error
-
Remove the modifier from the query variable.