Is it possible to display the label text with line breaks exactly as per the image
You can use <br />
for Line Breaks, and
for white space.
string s = "First line <br /> Second line";
Output:
First line
Second line
For more info refer to this: Line break in Label
You may append HTML <br />
in between your lines. Something like:
MyLabel.Text = "SomeText asdfa asd fas df asdf" + "<br />" + "Some more text";
With StringBuilder you can try:
StringBuilder sb = new StringBuilder();
sb.AppendLine("Some text with line one");
sb.AppendLine("Some mpre text with line two");
MyLabel.Text = sb.ToString().Replace(Environment.NewLine, "<br />");