nice to meet you. I'm new user of C# Language, and studying microsoft C# tutorial. Link : https://msdn.microsoft.com/en-us/library/aa288436(v=vs.71).aspx
But I have a problem in the first lesson. Link : https://msdn.microsoft.com/en-us/library/aa288463(v=vs.71).aspx
// Hello3.cs
// arguments: A B C D
using System;
public class Hello3
{
public static void Main(string[] args)
{
Console.WriteLine("Hello, World!");
Console.WriteLine("You entered the following {0} command line arguments:", args.Length );
for (int i=0; i < args.Length; i++)
{
Console.WriteLine("{0}", args[i]);
}
}
}
And example output is this.
Hello, World!
You entered the following 4 command line arguments:
A
B
C
D
I don't know how to change the signature of the Main method. How can I change this code to get example output?
+ My output is this.
Hello, World!
You entered the following 0 command line arguments:
It's all.