Skip to content

MessageBox.Show method

Chima Anago

Asked May 15, 2006, 4:12 PM EDT2 answers
Share
LinkedInX
I am a newbie on C# language. I have installed on my system Visual Studio.NET 2003 enterprise edition. Anytime I want to display a message using MessageBox, the MessageBox shows up without any output. Even the label like OK on the button doesn't show
Can someone help me?

1 Answer

Know the answer? Post it. Somebody with the same question will find it here.

  • 0
    C#
    using System;
    using System.Windows.Forms;
    
    class MyMessage {
    
      static void Main( string[] args ){
    
        MessageBox.Show( "I am great", "Message");
    
      }
    
    
    }
    0
  • 1 short reply
    • Mahesh Chand
      0
      Can you post your code here?
      0