[Mono-list] Getting Started

Carl Hume carl.hume at gmail.com
Tue Mar 28 22:15:22 EST 2006

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, (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?


-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.ximian.com/pipermail/mono-list/attachments/20060328/a7654323/attachment.html

More information about the Mono-list mailing list