title: Send static method + parameter as parameter
body: <p>I'd like to do something like this, but it's not possible.(Cann't convert from 'void' to 'System.Action').</p>
  
  <pre><code>class Program
  {
      public static void Main()
      {
          int n = 2;
          ClassB cb = new ClassB();
  
          cb.SetMethod(ClassA.MethodA(n)); //Cann't convert 'void' to 'System.Action&lt;int&gt;'
  
      }
  }
  
  public class ClassA
  {
      public static void MethodA(int a)
      {
          //code
      }
  }
  
  public class ClassB
  {
      Delegate del;
      public void SetMethod(Action&lt;int&gt; action)
      {
          del = new Delegate(action);
      }
      public void ButtonClick()
      {
          del.Invoke();
      }
  }
  public delegate void Delegate(int n);
  </code></pre>
  
  <p>I can send the argument "n", as second argument in the "setMethod" method, but I would have to store a variable to after pass to "del.Invoke(PARAM)". I'd like to use "del.Invoke()".</p>