title: MVC2 controller method that can accept unknown number of variables?
body: <p>I need to work with the below posted data, or a variant thereof. Basically, I need to post a variable number of key-value pairs that represent a question id and answer string. </p>
  
  <p>How do I write an ASP.NET MVC2 controller method signature to accept an unknown number of key-value pairs?</p>
  
  <pre><code>attachmentId=8809&amp;question_712=&amp;question_713=&amp;question_714=&amp;question_715=&amp;question_716=&amp;question_717=&amp;question_719=&amp;question_720=&amp;question_721=&amp;question_722=&amp;question_723=&amp;question_724=&amp;question_725=&amp;question_726=&amp;question_727=&amp;question_731=&amp;question_738=&amp;question_739=&amp;question_741=&amp;question_742=&amp;question_743=&amp;question_744=&amp;question_745=&amp;question_746=&amp;question_747=&amp;question_748=
  </code></pre>
  
  <p>Please note that in this example, there are 26 question keys with empty values. There may be more or less keys and they may or may not have a value. I can reformulate the way the data is sent by the client, so if the best solution is to rethink the way it is sent, I'm open to that.</p>