Hi everyone,
I'm running OS 10.6.4, and recently tried installing Mono. Something seems to have gone awry though, I can't even compile basic code.
The following:
using System;
public class HelloWorld
{
public static void Main()
{
Console.WriteLine("Hello Mono World!")
}
}
Gives me this result:
user$ gmcs HelloWorld.cs
HelloWorld.cs(8,9): error CS1525: Unexpected symbol `}'
HelloWorld.cs(9,1): error CS8025: Parsing error
Compilation failed: 2 error(s), 0 warnings
Lines 8 and 9 refer to the closing braces. Weird, right? Has anybody experienced this or a similar problem and would know how to fix whatever's broken?