Search code examples
c#messagebox

Message Box issues in C#


MessageBox.Show ("About Developer"+ "Mandelbrot by Milan." + Environment.NewLine +
            "Email: [email protected]" + Environment.NewLine +
            "Contact No: +977123456789" + Environment.NewLine);

I want About Developer as title. I searched but I didn't get suitable solution to my problem.

enter image description here


Solution

  • There are a bunch of overloads on MessageBox.Show. The one you want is the one where you call it with 2 strings like this:

    MessageBox.Show ("Mandelbrot by Milan." + Environment.NewLine +
                       "Email: [email protected]" + Environment.NewLine +
                       "Contact No: +977123456789" + Environment.NewLine,
                     "About Developer");