From 906c55263bc853013520e7a071ebc785e2c0d572 Mon Sep 17 00:00:00 2001 From: Rene Rebe Date: Wed, 27 Aug 2003 16:02:57 +0000 Subject: [PATCH] "Stefan Paletta" : I was bored and tired ... - a hello-world in C# ... git-svn-id: http://www.rocklinux.org/svn/rock-linux/trunk@1214 c5f82cb5-29bc-0310-9cd0-bff59a50e3bc --- misc/archive/hello.cs | 12 ++++++++++++ 1 file changed, 12 insertions(+) create mode 100644 misc/archive/hello.cs diff --git a/misc/archive/hello.cs b/misc/archive/hello.cs new file mode 100644 index 000000000..f3850221a --- /dev/null +++ b/misc/archive/hello.cs @@ -0,0 +1,12 @@ +// Hello World in C# +// Compile into an assembly with 'mcs hello.cs'. +// Run with the Mono Interpreter 'mint hello.exe' or +// with the Mono JIT Compiler 'mono hello.exe'. + +class Hello +{ + static void Main() + { + System.Console.WriteLine("Hello World! (A simple C# program.)"); + } +}