using System; public class Hello { public static void Main(string[] args) { System.Console.WriteLine("Hello, World!\n"); } }
Output: Hello, World!
The preceding class declaration provides a method Main() that will display the message "Hello, World!" on your screen.
0 comments:
Post a Comment