function to get the name of any method?
<p>I would like to have a function called <strong>GetMethodName</strong> such that the following code would print "myMethod":</p>

<pre><code>int myMethod(string foo, double bar)
{
    // ...
}

Console.Out.WriteLine(GetMethodName(myMethod));
</code></pre>

<p>This should work no matter what the method signature myMethod has.  Is this possible?</p>
