I am trying to save some variables to a file. I am doing it like this
file.Write(organisationId + ";" + Name + ";" + organisationsNummer + ";" + statusCode + ";" + remark + ";" + created + ";" + updated + Environment.NewLine);
It will write a new line for each organization. The problem is that one of the organizations has an organisationsNummer value of "997744276\r" It deletes the \r part and moves the rest to a new line. How can I save the variables as it is "997744276\r". I tried to do this @organisationsNummer but that didn't do the trick.