using System; /* * File: HelloWorld.cs * * Description: This file exemplifies printing 'Hello world!' in C#. * * Package: AniNIX::Foundation/HelloWorld * Copyright: WTFPL * * Author: DarkFeather */ namespace AniNIX { /// This class is used exemplify coding standard in C#. public sealed class HelloWorld { // String to print private static String _helloWorld="Hello world!"; /// /// Print 'Hello world!' /// public static void PrintHelloWorld() { Console.WriteLine(_helloWorld); } /// /// Code entry point /// public static void Main(string[] args) { HelloWorld.PrintHelloWorld(); return; } } }