Hello All,

I just installed the latest version of mono in order to give it a try, and I'm having several (likely newbie) problems.

To start, the version of mono I installed:

# mono --version
Mono JIT compiler version 1.1.13.6, (C) 2002-2005 Novell, Inc and Contributors. www.mono-project.com
        TLS:           normal
        GC:            Included Boehm (with typed GC)
        SIGSEGV      : normal

I then decided to try the "Introduction to developing with Mono" from http://www.mono-project.com/Introduction_to_developing_with_Mono.  I created a file called hello.cs and entered the code for the Hello World example:

// Hello World! : hello.cs

using System;

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

I then tried to compile:

# mcs hello.cs
hello.cs(3,13): error CS8025: Parsing error
Compilation failed: 1 error(s), 0 warnings

Line 3, column 13 corresponds to the semi-colon.  I'm at a loss for what could be causing the problem.  Any suggestions?

Thanks,
Carl

--
http://genomescampaigns.blogspot.com
_______________________________________________
Mono-list maillist  -  [email protected]
http://lists.ximian.com/mailman/listinfo/mono-list

Reply via email to