Returning a function pointer
<p>I'm trying to create a url builder similar to the one in asp mvc except our methods are frequently changing parameters and breaking pages.</p>

<p>Does anyone know if it's possible to coerce c# into allowing event like syntax to be returned from a delegate like this:</p>

<pre><code>new UrlBuilder2&lt;FakeController&gt;(x =&gt; { return x.ActionWithInt; });
</code></pre>

<p>The class would be similar to this:</p>

<pre><code>public class UrlBuilder&lt;TController&gt;
{
    public UrlBuilder2(Func&lt;TController, TType&gt; action)
    {
    }
}
</code></pre>

<p>Basically I want to know what Type to use for TType. Or if it's at all possible.</p>

<p>Edit -
I would (if possible) like to use just the method, similar to how you would assign an event ( <code>clickEvent =+ myMethod;</code>)</p>
