Hi,
I am new C#.I am trying to compile the program from Microsoft Visual C#.Net tool.The trouble is that how to give command line input through this tool.I am trying hard to figure out.
say i have given small program....
// Namespace Declaration
using System;
// Program start class
class NamedWelcome
{
// Main begins program execution.
public static void Main(string[] args)
{
// Write to console
Console.WriteLine("Hello, {0}!", args[0]);
Console.WriteLine("Welcome to the C# Station Tutorial!");
}
}
I am having trouble giving command line input to this program...
thank you.
I am new C#.I am trying to compile the program from Microsoft Visual C#.Net tool.The trouble is that how to give command line input through this tool.I am trying hard to figure out.
say i have given small program....
// Namespace Declaration
using System;
// Program start class
class NamedWelcome
{
// Main begins program execution.
public static void Main(string[] args)
{
// Write to console
Console.WriteLine("Hello, {0}!", args[0]);
Console.WriteLine("Welcome to the C# Station Tutorial!");
}
}
I am having trouble giving command line input to this program...
thank you.