<br /> using System.IO;<br /> <br /> string OutputFile = "C:\a.txt";<br /> string output = "1\n2\n3";<br /> File.WriteAllText(OutputFile, output);<br /> <br />
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)