Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR CSHARP

c# stringbuilder to file

using (System.IO.StreamWriter file = new System.IO.StreamWriter(@"hereIam.txt"))
{
    file.WriteLine(sb.ToString()); // "sb" is the StringBuilder
}
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #stringbuilder #file
ADD COMMENT
Topic
Name
4+6 =