I would like to have a description of event looking like this:
Name + Surname
Email
Phone
Ilość osób: number
My code to get that string looks that:
public string Opis
{ get
{
return Osoba + Environment.NewLine + Email + Environment.NewLine + Telefon + Environment.NewLine + "Ilość osób: " + IloscOsob;
}
}
And got value looks that: Opis = "Przemysław Kościelniak\r\nfmgroup.damian.k@gmail.com\r\n510238338\r\nIlość osób: 44"
Like you can see on screen there are no new lines... How can I do them? <br> or <br /> replaced Environment.NewLine didn't work.