View Full Version : Simple Question
CompiledMonkey
02-17-2002, 07:54 PM
I finally got VS.NET and I want to experiment with some C#. Could anyone post up a very simple hello world program I can use for experimentation?
-KEN-
02-17-2002, 09:01 PM
this has been posted before, God forbid you look...
using System;
class HelloWorld
{
static void Main()
{
Console.WriteLine("Hello, World!");
}
}
CompiledMonkey
02-17-2002, 09:03 PM
Originally posted by -KEN-
this has been posted before, God forbid you look...
Same old kid, huh? Welcome to my ignore list. ;)
CompiledMonkey
02-17-2002, 09:10 PM
With this code, it leaves the screen quick. What's the command to pause it?
-KEN-
02-17-2002, 09:26 PM
Console.Read()
Or maybe it was Console.ReadLine()
maybe both. I only used it once.
Oh and chris, this sin't flashdaddee. Stop being so childish.
CompiledMonkey
02-17-2002, 09:35 PM
Rofl, thanks for that. Console.Read(); did the trick.
vBulletin® v3.7.0, Copyright ©2000-2008, Jelsoft Enterprises Ltd.