The following line gives an error:
Console.WriteLine("Order:{0},\n Placed:{1},\nshipped:{2},\nTo address:{3} ,{4}, {5}\n\n" + orderid, orderdate, shipdate, shipname, shipaddr, shipcity);
It shows an error as:
(Index (zero based) must be greater than or equal to zero an d less than the size of the argument list.)
Help me out to resolve this error. I know this error happened because of the place holder provided are greater than the variables provided.