[Mono-list] How To Start Writing Code in Monodevelop IDE?

abrogard abrogard at yahoo.com
Tue Mar 2 16:56:18 EST 2010



 I've just started learning C#

 found what looks like a good place: C# Station.

 Want to do their first exercise - a 'hello world' thing.  Wrote the script
and submitted it to csc.exe only to find hassles on my machine. Command line
compiling won't work. Too many messed up installations of Visual Studio.

 So thought I'd use Monodevelop and write it in there and let it compile it.

 But I can't find where to write it!

 Can anyone help?

 Here's what I want to write, in the interests of making it all clear:


// Namespace Declaration
using System;

// Program start class
class WelcomeCSS
{
    // Main begins program execution.
    static void Main()
    {
        // Write to console
        Console.WriteLine("Welcome to the C# Station Tutorial!"); 
    }
}


 (and I think I'll need some trick to keep the dosbox open for while when it
runs...)

regards,

 ab   :)

-- 
View this message in context: http://n4.nabble.com/How-To-Start-Writing-Code-in-Monodevelop-IDE-tp1575796p1575796.html
Sent from the Mono - General mailing list archive at Nabble.com.


More information about the Mono-list mailing list