As I understand it, I can use this:
Func<string> f1 = () => DateTime.Now.ToString();
as a shorthand for:
Func<string> f2 = () => { return DateTime.Now.ToString(); };
My question is why can't I do the same with expressions:
Expression<Func<string>> exp1 = () => DateTime.Now.ToString();
Expression<Func<string>> exp2 = () => { return DateTime.Now.ToString(); };
The second line does not compile.