title: How to pass a function func as argument to another and then assignate this argument to a delegate variable?
body: <p>How can I use function as parameter of another function and assign it to a delegate   </p>
  
  <pre><code>public class myClass
  {
      public delegate void myDelegate(double x, string s);
      //declaration of   delegate
      public void func(double x, string s)
      {
        dosomethings...
      }
      // what is the declaration of the argument 'Function declaration'
      public void myFunction('Function declaration' function)
      { 
        myDelegate deFunc;
        deFunc = function;
      }
      }
      static void Main(string[] args)
      {
          myFunction(func);
      }
  }
  </code></pre>