title: How to Pass MethodName as Parameter of a Procedure in VBNET
body: <p>I want to create a Procedure that its parameter is also a procedure. Is it possible?
  <br> I created some procedures to be used as parameters below:</p>
  
  <pre><code>Private Sub Jump(xStr as string)
      Msgbox xStr &amp; " is jumping."
  End Sub
  
  Private Sub Run(xStr as string)
      Msgbox xStr &amp; " is jumping."
  End Sub
  </code></pre>
  
  <p>this procedure should call the procedure above:</p>
  
  <pre><code>Private Sub ExecuteProcedure(?, StringParameter) '- i do not know what to put in there
       ? ' - name of the procedure with parameter
  End Sub
  </code></pre>
  
  <p>usage:</p>
  
  <pre><code> ExecuteProcedure(Jump, "StringName")
   ExecuteProcedure(Run, "StringName")
  </code></pre>