title: List in C# - passing multiple entries as a single object
body: <p>I have a method (C#)</p>
  
  <pre><code>public void MethodName(List&lt;Order&gt; Order, int ID)
  </code></pre>
  
  <p>I need to pass this to a main page, in which i know to pass integer value to ID, am not able to pass multiple items in a single list.</p>
  
  <p>The List order should have two number entries, (ie. Order.number1 and Order.number2)</p>
  
  <p>How should i pass a single list as a parameter to this method containing multiple entries of number1 and 2, so that i can loop thro' and find it.</p>
  
  <p>Thanks.</p>