There are 2 options \n
and Environment.NewLine
Option 1: \n
I don't know if this work for sure on Windows phone but I think it would
\n
- New line. Place as much as sentences as you want
MessageBox.Show("Some Text Here In The Line NO.1\nSome Text Here In Line NO.2");
Will show:
Some Text Here In The Line NO.1
Some Text Here In Line NO.2
OR
MessageBox.Show("Some Text Here In The Line NO.1 +"\n" + "Some Text Here In Line NO.2");
Will show the same as the first one:
Some Text Here In The Line NO.1
Some Text Here In Line NO.2
Option 2: Environment.NewLine
Environment.NewLine
- New line. Place as much as sentences as you want
MessageBox.Show("Some Text Here In The Line NO.1" + Environment.NewLine + "Some Text Here In Line NO.2");
Will show the same as the first one:
Some Text Here In The Line NO.1
Some Text Here In Line NO.2
From msdn.microsoft
The functionality provided by NewLine (Environment.NewLine) is often what is meant by the terms newline, line feed, line break, carriage return, CRLF, and end of the line.
I prefer \n because is shorter and faster but whatever you like.