_____________________________________________
Program Structure in C#.
_____________________________________________
End Namespace using System;
namespace Hello {
public class HelloWorld {
public static void
string name = "C#";
// See if an argument was passed from the command line
if (args.Length == 1)
name = args[0];
Console.WriteLine("Hello, " + name + "!");
}
}
}
____________________________________________________________________
____________________________________________________________________
No comments:
Post a Comment