title: Pass arguments to an action in dictionary at initialization C#
body: <p>I have a <code>Dictionary</code> which has <code>KeyCode</code> as a key and an <code>Action&lt;int&gt;</code> as value,h however I want to give the <code>Action</code> parameters at the initialization of the dictionary like this :</p>
  
  <pre><code>    someDictionary = new Dictionary&lt;KeyCode, Action&lt;int&gt;&gt;()
      {
          {KeyCode.Alpha1, GoToCameraPosition(0) },
      };
  </code></pre>
  
  <p>How can I do that ?</p>