format string error in c#
<p>The following line gives an error:</p>

<pre><code> Console.WriteLine("Order:{0},\n Placed:{1},\nshipped:{2},\nTo address:{3} ,{4}, {5}\n\n" + orderid, orderdate, shipdate, shipname, shipaddr, shipcity);
</code></pre>

<p>It shows an error as:</p>

<blockquote>
  <p>(Index (zero based) must be greater than or equal to zero an d less than the size of the argument list.)</p>
</blockquote>

<p>Help me out to resolve this error. I know this error happened because of the place holder provided are greater than the variables provided.</p>
