add new line in message box c# code example Example: c# new line in messagebox string msg = "Text here" + Environment.NewLine + "some other text";