Browse Source

"Stefan Paletta" <stefanp@cabal1.com>:

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
rocklinux
Rene Rebe 21 years ago
parent
commit
906c55263b
1 changed files with 12 additions and 0 deletions
  1. +12
    -0
      misc/archive/hello.cs

+ 12
- 0
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.)");
}
}

Loading…
Cancel
Save