HelloWorld/HelloWorld.cs

34 lines
683 B
C#
Raw Normal View History

using System;
2018-11-05 15:35:32 -06:00
/*
* 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 {
2018-11-05 15:35:32 -06:00
public sealed class HelloWorld {
/// <summary>
/// Print 'Hello world!'
/// </summary>
public static void PrintHelloWorld() {
2018-11-05 15:35:32 -06:00
Console.WriteLine("Hello world!");
}
/// <summary>
/// Code entry point
/// </summary>
2018-11-05 15:35:32 -06:00
public static void Main(string[] args) {
HelloWorld.PrintHelloWorld();
return;
}
}
}