How to line break between two lines in MessageBox.Show?

How to insert an enter between lines into a MessageBox.Show?

How to line break using MessageBox.Show?

I have Simple solution is below:

You just add \n between two line.

MessageBox.Show(“Good\nMorning”);

Output like this.

Good
Morning

Your problem has been solved.

About the Author

avatar