Monday, March 26, 2012

main method args parameters limitations in C#

Im getting System.IndexOutOfRangeException' on the main method,

Im using upto args[5] is there any limitation in the number of arguments passed.

Any idea?stupid me

I was passing the arguments seperated by commas and this was causing the problem,

The arguments has to be seperated by spaces

0 comments:

Post a Comment