- Jun 8, 2005
- 9,652
- 553
- 126
Hey guys, I have rather rudimentary programming skills (fun hobby to me), and one of the things I was trying to do was have command line options in my program. Like how you can type bootsect.exe /NT60 H: to tell bootsect what to do.
I want to do something like that for a command line program I'm writing for ultrabasic cryptography. Basically all it does is take the program and then the command line arguments as a text file to open and then a number setting the cryptography key (anywhere from 1 to 100 or something like that).
Can anyone give a good description of how to get command line arguments in C#? I've simply never used them before and I can't seem to find any online resources that explain it in a way I can understand.
Thanks for shedding any light on this
I want to do something like that for a command line program I'm writing for ultrabasic cryptography. Basically all it does is take the program and then the command line arguments as a text file to open and then a number setting the cryptography key (anywhere from 1 to 100 or something like that).
Can anyone give a good description of how to get command line arguments in C#? I've simply never used them before and I can't seem to find any online resources that explain it in a way I can understand.
Thanks for shedding any light on this