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