In-order to add new line in MessageBox.Show Text use following code string messageText = "Text1" + System.Environment.NewLine + "Text2"; Example:MessageBox.Show("DotNetMirror" + System.Environment.NewLine + "WPF MessageBox.Show Text New Line Demo", "Information", MessageBoxButton.OK);
|