On Mon, Nov 17, 2008 at 6:40 PM, Abulhija <[EMAIL PROTECTED]> wrote:
> hi am new to mono and C# i have a small code i want to write, here is the
> code
>
> using System;
> using System.Windows.Forms;
>
> public class messageBox
> {
>         public static void Main()
>                  {
>                         messageBox.show("something goes here");
>                  }
> }
>
> simple very easy, the problem that when i reach the part messageBox.show(),
> there is not show, only Equals, Main, or RefernceEqual... i searched the net
> but there is no answer. can someone help please.
> thanks
>
> am working on ubuntu 8.10, MonoDevelop version 1.0

In addition, make sure that you're referencing System.Windows.Forms in
your project.  (Right-click References under your project and select
Edit.)  The Show method is capitalized as well, and the compiler will
not find it if letters are not the proper case.

-- 
Chris Howie
http://www.chrishowie.com
http://en.wikipedia.org/wiki/User:Crazycomputers
_______________________________________________
Mono-list maillist  -  [email protected]
http://lists.ximian.com/mailman/listinfo/mono-list

Reply via email to