Check your case. It's MessageBox.Show. You are trying to use a method on your class that contains Main (messageBox), not the MessageBox that is in System.Windows.Forms. You should change the name of your class to something else to avoid confusion. Something like MessageBoxExample.
-----Original Message----- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Abulhija Sent: Monday, November 17, 2008 3:40 PM To: [email protected] Subject: [Mono-list] messageBox.show() is not there!? 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 thanks again. PS: not sure if this is the right section to post in. please move it to the right section if necessary. -- View this message in context: http://www.nabble.com/messageBox.show%28%29-is-not-there%21--tp20550486p 20550486.html Sent from the Mono - General mailing list archive at Nabble.com. _______________________________________________ Mono-list maillist - [email protected] http://lists.ximian.com/mailman/listinfo/mono-list _______________________________________________ Mono-list maillist - [email protected] http://lists.ximian.com/mailman/listinfo/mono-list
