On Tue, 28 Mar 2006 22:15:22 -0500
"Carl Hume" <[EMAIL PROTECTED]> wrote:

> using System;
> 
> class Hello {
>         static Main() {
>                 Console.writeln( "Hello, World!" );
>         }
> }

Hi,
this is the right one:

using System;

class Hello {
        public static void Main() {
                Console.WriteLine( "Hello, World!" );
        }
}

First of all: Main method must return a valid type (void); then the
method writeln is not present inside the Console class

Bye


Salvatore ---------------------<|
LAAS --------------------------<|
http://laas.altervista.org ----<|
_______________________________________________
Mono-list maillist  -  [email protected]
http://lists.ximian.com/mailman/listinfo/mono-list

Reply via email to