Login to reply

6 posts


by aktionline 6 months ago
when I start the project exe, how can I use the arguments used. thanks

by Rebin 6 months ago
Not sure what you mean, can you elaborate please?

Korduene Developer
by aktionline 6 months ago
I mean like, e.g.I want a program shows a message with the command line argument:
myproject.exe hello
shows hello
for this "static void Main(string[] args)" should be exist, but the global "string[] args" is not there. So I cannot use it in the program code, even if I add using "Modify and run". I hope I was able to explain.

by Rebin 6 months ago
I've just added the arguments node Application > Main > Arguments.
You can now pass arguments to the app on startup and use it anywhere in the app.
Here is a simple example below:


Korduene Developer
by aktionline 6 months ago
you are cool. thanks.

by Rebin 5 months ago
You're very welcome.

Korduene Developer
Login to reply
;