I have a string and its value is:
qwerty adsf The text of the samp
File.WriteAllText("myFile.xml",myString);