Using delegates as parameters
<p>I have two methods with the following signatures</p>

<pre><code>void Invoke(Action method)
void Foo()
</code></pre>

<p>What is the difference between the following two lines of code?</p>

<pre><code>Invoke(new Action(Foo));
</code></pre>

<p>and</p>

<pre><code>Invoke(Foo);
</code></pre>

<p>and is the second line allowed?</p>

<p>Thanks</p>
