I would like to generate the following select statement dynamically using expression trees:
var v = from c in Countries
where c.City == \"London\"
You could use the Dynamic Expression API which allows you to dynamically build your select statement like this:
Select("new(,,...)");
You need the Dynamics.cs file from the LINQ and language samples for Visual Studio for this to work, both are linked at the bottom of this page. You can also see a working example showing this in action on at the same URL.