title: how to write delegate with 2 parameters
body: <p>This should be a simple question with hopefully a simple answer.<br>
  I am trying to write a delegate that takes 2 parameters but the compiler does not accepts it.</p>
  
  <p>When I use one parameter it works, example :</p>
  
  <pre><code>var addCar = new Action&lt;string&gt;(number =&gt; 
  { } );
  </code></pre>
  
  <p>but when I use 2 parameters the compiler complaints that he does not know the argument 'number'
  The code I tried is this</p>
  
  <pre><code>var addCar = new Action&lt;string, decimal&gt;(number, test =&gt; 
  { } );
  </code></pre>
  
  <p>The error is "The name 'number' does not exists in the current context"</p>
  
  <p>I don't know the exact syntax for creating a delegate with 2 parameters, so I hope someone can help me with this.</p>