> public class Hello
> }
the corret is:
> public class Hello
> {
Your braces are inverted :)
Everaldo.
Amrit Kohli <[EMAIL PROTECTED]> wrote:
Hello,
I am new to the mono development platform. I found an article that illustrates how to write a simple �hello world� type of program in C#. However, on my system (a windows 2000 box), the simple program does not compile. Here is what the simple program looks like:
using System;
namespace HelloNameSpace
{
public class Hello
}
static void Main(string[] args)
{
Console.WriteLine("What we think, we become.");
}
}
}
The compiler gives me the following error message:
syntax error, got token `CLOSE_BRACE', expecting OPEN_BRACE COLON
hello.cs(6) error CS8025: Parsing error
Compilation failed: 1 error(s), 0 warnings
I am using mono v1.0.2 for windows.
What am I missing?
Thanks,
Amrit
----
Amrit Kohli
[EMAIL PROTECTED]
Yahoo! Acesso Gr�tis - Internet r�pida e gr�tis. Instale o discador agora!
