R
rodchar
hey all,
my consoleApp.exe can take either 1, 2 or 3 parms what's the best way to
check for these conditions?
my guess is something like:
if (args.Length == 2)
{
//there were 2 parms passed
}
if (args.Length == 3)
{
//there were 3 parms passed
}
is that the best way?
thanks,
rodchar
my consoleApp.exe can take either 1, 2 or 3 parms what's the best way to
check for these conditions?
my guess is something like:
if (args.Length == 2)
{
//there were 2 parms passed
}
if (args.Length == 3)
{
//there were 3 parms passed
}
is that the best way?
thanks,
rodchar