What's the coding for streamwriter?
using something steamwriter ( path of file )
then like x.writeline("");
i can't seem to find a command that has it
using(var sw = new StreamWriter(path))
{
sw.WriteLine("Some stuff");
}
StreamWriter sw = new StreamWriter(path);
sw.WriteLine("Some stuff");
sw.Flush(); //stops editing/closes file
Users browsing this forum: No registered users and 1 guest