Menu

#1 Hello World

1.0
open
C# (1)
2013-11-04
2013-11-04
Feroze Khan
No

// 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]);
}
}
}

Discussion


Log in to post a comment.