Jump to content

C Sharp for Beginners/Introduction

From Wikibooks, open books for an open world
 class HelloWorldProgram
 {
    public static void Main()
    {
        System.Console.WriteLine("Hello, world!"); // prints some text on to the screen
        System.Console.ReadKey(); /* waits for the user
        to press a key
        */
    }
 }