1.

How Can I Process Command-line Arguments?

Answer»

Like this:
USING System;
class CApp
{
PUBLIC STATIC VOID Main( string[] args )
{
Console.WriteLine( "You passed the following arguments:" );
FOREACH( string arg in args )
Console.WriteLine( arg );
}
}

Like this:
using System;
class CApp
{
public static void Main( string[] args )
{
Console.WriteLine( "You passed the following arguments:" );
foreach( string arg in args )
Console.WriteLine( arg );
}
}



Discussion

No Comment Found