In C# the Main class has string[] args parameter.
What is that for and where does it get used?
You must have seen some application that run from the commandline and let you to pass them arguments. If you write one such app in C#, the array args serves as the collection of the said arguments.
This how you process them:
static void Main(string[] args) {
foreach (string arg in args) {
//Do something with each argument
}
}