title: Convert Func to Delegate
body: <p>I have the following delegate defined:</p>
  
  <pre><code>public delegate object MyDelegate(dynamic target);
  </code></pre>
  
  <p>And I have a <code>Func&lt;dynamic, object&gt;</code> object:</p>
  
  <pre><code>Func&lt;dynamic, object&gt; myFunc
  </code></pre>
  
  <p>How can I convert <code>myFunc</code> to <code>MyDelegate</code>?</p>
  
  <p>I have tried these instructions, none of them worked:</p>
  
  <pre><code>MyDelegate myDeleg = myFunc;
  MyDelegate myDeleg = (MyDelegate) myFunc;
  MyDelegate myDeleg = myFunc as MyDelegate;
  </code></pre>