anonymous lambda?
<p>What is the closest thing to the below? Unfortunately the below gets me a method name compile error.</p>

<pre><code>int val = delegate(string s)
{
    return 1;
}("test");
</code></pre>

<p>I also tried the (...)=>{...} syntax but got it very wrong</p>
