зеркало из https://github.com/mono/mail-archives.git
130 строки
5.7 KiB
HTML
130 строки
5.7 KiB
HTML
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
|
|
<HTML>
|
|
<HEAD>
|
|
<TITLE> [Mono-list] Hello, Mono!
|
|
</TITLE>
|
|
<LINK REL="Index" HREF="index.html" >
|
|
<LINK REL="made" HREF="mailto:rafael.teixeirabr%40terra.com.br">
|
|
<META NAME="robots" CONTENT="index,nofollow">
|
|
|
|
<LINK REL="Previous" HREF="025786.html">
|
|
<LINK REL="Next" HREF="025752.html">
|
|
</HEAD>
|
|
<BODY BGCOLOR="#ffffff">
|
|
<H1>[Mono-list] Hello, Mono!
|
|
</H1>
|
|
<B>A Rafael D Teixeira
|
|
</B>
|
|
<A HREF="mailto:rafael.teixeirabr%40terra.com.br"
|
|
TITLE="[Mono-list] Hello, Mono!">rafael.teixeirabr@terra.com.br
|
|
</A><BR>
|
|
<I>Tue, 15 Feb 2005 15:44:18 -0200</I>
|
|
<P><UL>
|
|
<LI> Previous message: <A HREF="025786.html">[Mono-list] Hello, Mono!
|
|
</A></li>
|
|
<LI> Next message: <A HREF="025752.html">[Mono-list] Hello, Mono!
|
|
</A></li>
|
|
<LI> <B>Messages sorted by:</B>
|
|
<a href="date.html#25749">[ date ]</a>
|
|
<a href="thread.html#25749">[ thread ]</a>
|
|
<a href="subject.html#25749">[ subject ]</a>
|
|
<a href="author.html#25749">[ author ]</a>
|
|
</LI>
|
|
</UL>
|
|
<HR>
|
|
<!--beginarticle-->
|
|
<PRE>Well the 'mono' you typed at prompt is just the runtime (the program
|
|
that will execute your programs)
|
|
|
|
you need to compile your C# code first using mcs:
|
|
|
|
mcs -target:exe HelloMono.cs
|
|
|
|
then you will have a HelloMono.exe that is your C# source compiled to
|
|
the standard (multiplataform) format.
|
|
|
|
Then you can execute it with:
|
|
|
|
mono HelloMono.exe
|
|
|
|
Hope it helps, Have fun
|
|
|
|
On Tue, 2005-02-15 at 15:15, Hernán Nicolás Taboada wrote:
|
|
><i> ___
|
|
</I>><i> namespace HelloMono
|
|
</I>><i> {
|
|
</I>><i> /// <summary>
|
|
</I>><i> /// This is intended to be a funny presentation to the Mono-list
|
|
</I>><i> /// ... i know is probably not that... funny, heh... anyway :p
|
|
</I>><i> /// </summary>
|
|
</I>><i> class Hi
|
|
</I>><i> {
|
|
</I>><i> static void Main (string[] args)
|
|
</I>><i> {
|
|
</I>><i> System.Console.WriteLine ("Hello, Mono!");
|
|
</I>><i> System.Console.ReadLine;
|
|
</I>><i> } // end main
|
|
</I>><i> } // end class
|
|
</I>><i> } // end namespace
|
|
</I>><i> ___
|
|
</I>><i>
|
|
</I>><i> Hello everybody! My name is Hernán and I'm totally new to both the
|
|
</I>><i> Mono Project and the programming world. I'm starting to do my first
|
|
</I>><i> steps reading books like "C# for the absolute beginner" and so on,
|
|
</I>><i> wich are very helpful for me because they explain the very basics of
|
|
</I>><i> everything :D, really suitable for a totally rookie like me. In the
|
|
</I>><i> other hand, I have a little of experience with Linux, I've installed a
|
|
</I>><i> couple of distros, but I'm far to be a "linux literate", or a "serious
|
|
</I>><i> enthusiast" yet. So well, I'm just trying to follow the exercises
|
|
</I>><i> proposed in those books, so, I've installed Mono vía the YOU facility
|
|
</I>><i> (it stands for YaST Online Update, and also YaST stands for Yet
|
|
</I>><i> another Setup Tool, aw, I'm starting to love acronyms!), then if I try
|
|
</I>><i> to run from a bash console:
|
|
</I>><i>
|
|
</I>><i> miSuse:/usr/bin # mono
|
|
</I>><i>
|
|
</I>><i> a lot of interesting compilation options appears but... I don't what
|
|
</I>><i> to do with them :(. Also I've installed the monodevelop IDE but I
|
|
</I>><i> can't figure out how to execute it. I'm using SUSE 9.1 on a laptop. To
|
|
</I>><i> end, sorry if my english skills aren't the best, my native language is
|
|
</I>><i> spanish but i try to do my best :) Well, hope to read from you soon!
|
|
</I>><i>
|
|
</I>><i> Sincerely,
|
|
</I>><i> Hernán.
|
|
</I>><i> _______________________________________________
|
|
</I>><i> Mono-list maillist - <A HREF="mailto:Mono-list@lists.ximian.com">Mono-list@lists.ximian.com</A>
|
|
</I>><i> <A HREF="http://lists.ximian.com/mailman/listinfo/mono-list">http://lists.ximian.com/mailman/listinfo/mono-list</A>
|
|
</I>><i>
|
|
</I>><i> E-mail classificado pelo Identificador de Spam Inteligente Terra.
|
|
</I>><i> Para alterar a categoria classificada, visite
|
|
</I>><i> <A HREF="http://www.terra.com.br/centralunificada/emailprotegido/imail/imail.cgi?+_u=rafael.teixeirabr&_l=1,1108487805.390051.23662.chipata.terra.com.br,4813,Des15,Des15">http://www.terra.com.br/centralunificada/emailprotegido/imail/imail.cgi?+_u=rafael.teixeirabr&_l=1,1108487805.390051.23662.chipata.terra.com.br,4813,Des15,Des15</A>
|
|
</I>><i>
|
|
</I>><i> Esta mensagem foi verificada pelo E-mail Protegido Terra.
|
|
</I>><i> Scan engine: McAfee VirusScan / Atualizado em 09/02/2005 / Versão: 4.4.00 - Dat 4427
|
|
</I>><i> Proteja o seu e-mail Terra: <A HREF="http://www.emailprotegido.terra.com.br/">http://www.emailprotegido.terra.com.br/</A>
|
|
</I>--
|
|
Rafael "Monoman" Teixeira
|
|
Mono Hacker since 16 Jul 2001 - <A HREF="http://www.go-mono.org/">http://www.go-mono.org/</A>
|
|
Mono Brasil Founding Member - <A HREF="http://monobrasil.redesolbrasil.org/">http://monobrasil.redesolbrasil.org/</A>
|
|
English Blog: <A HREF="http://monoblog.blogspot.com/">http://monoblog.blogspot.com/</A>
|
|
Brazilian Portuguese Blog: <A HREF="http://monoblog.weblogger.terra.com.br/">http://monoblog.weblogger.terra.com.br/</A>
|
|
|
|
|
|
</PRE>
|
|
<!--endarticle-->
|
|
<HR>
|
|
<P><UL>
|
|
<!--threads-->
|
|
<LI> Previous message: <A HREF="025786.html">[Mono-list] Hello, Mono!
|
|
</A></li>
|
|
<LI> Next message: <A HREF="025752.html">[Mono-list] Hello, Mono!
|
|
</A></li>
|
|
<LI> <B>Messages sorted by:</B>
|
|
<a href="date.html#25749">[ date ]</a>
|
|
<a href="thread.html#25749">[ thread ]</a>
|
|
<a href="subject.html#25749">[ subject ]</a>
|
|
<a href="author.html#25749">[ author ]</a>
|
|
</LI>
|
|
</UL>
|
|
</body></html>
|