...at the multifield "Start Options" fill-in-the-blank box at the Debug tab under the properties for a console project in Visual Studio 2012. Separate strings with spaces. They will populate the args array here in Program.cs:
static void Main(string[] args)
{
string ourFirstArguement = args[0];
Console.WriteLine(ourFirstArguement);
Console.ReadLine();
}
No comments:
Post a Comment