Click here to Skip to main content
15,892,199 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
I've just write a very simple console application in Visual C# stdudio 2008 and got a message. But I really don't understand what the hell is that? So please let me know what is that and how to solve that problem. Thanks in advanced.
http://s1013.photobucket.com/albums/af260/phabion/?action=view&current=untitled6.jpg

/edit MG
The correct URL is http://s1013.photobucket.com/albums/af260/phabion/?action=view¤t=untitled6.jpg[^]
edit MG/
Posted
Updated 26-Apr-10 2:46am
v2

You are calling the function using the first argument supplied to the command line of your program, however, you probably haven't supplied any arguments on the command line. You can either supply command line arguments in the 'debug setting' of your project, run the program directly from the command line (with arguments of course), or just omit args[0] in your call.
 
Share this answer
 
You will have to specify the command line arguments that need to be passed to your console application. If you are running the application through visual studio you can specify the command line arguments from the Project Properties.

(VS 2008)
Project Properties -> Debug -> Command line arguments
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900