Write string to a file.
CodeKeep C# Feed Maggio 12th, 2008
Description: Writes any string to a file using StreamWriter
Link: http://www.codekeep.net/snippets/8541cdc0-7364-4a67-87b9-5c355aeda195.aspx
string text = "Hello World"
System.IO.TextWriter tw = new System.IO.StreamWriter("c:\\output.txt");
tw.WriteLine(xmlDoc);
tw.Close();






