34 lines
683 B
C#
34 lines
683 B
C#
using System;
|
|
|
|
/*
|
|
* File: helloworld.cs
|
|
*
|
|
* Description: This file exemplifies printing 'Hello world!' in C#.
|
|
*
|
|
* Package: AniNIX::Foundation/HelloWorld
|
|
* Copyright: WTFPL
|
|
*
|
|
* Author: DarkFeather <darkfeather@aninix.net>
|
|
*/
|
|
|
|
namespace AniNIX {
|
|
|
|
public sealed class HelloWorld {
|
|
|
|
/// <summary>
|
|
/// Print 'Hello world!'
|
|
/// </summary>
|
|
public static void PrintHelloWorld() {
|
|
Console.WriteLine("Hello world!");
|
|
}
|
|
|
|
/// <summary>
|
|
/// Code entry point
|
|
/// </summary>
|
|
public static void Main(string[] args) {
|
|
HelloWorld.PrintHelloWorld();
|
|
return;
|
|
}
|
|
}
|
|
}
|