title: Declare Lambda Expression as a class constant field
body: <p>Why isn't it possible to declare a class constant filed of type <code>Lambda Expression</code>. I want Something like this:</p>
  
  <pre><code>class MyClass
  {
     public const Expression&lt;Func&lt;string,bool&gt;&gt; MyExpr = (string s) =&gt; s=="Hello!";
  }
  </code></pre>
  
  <p>But I get the compile error: <code>Expression cannot contain anonymous methods or lambda expressions</code></p>