Here are the examples of the csharp api System.IO.FileStream.WriteLine() taken from open source projects. By voting up you can indicate which examples are most useful and appropriate.
2 Examples
19
Source : Extensions.cs
with MIT License
from hcq0618
with MIT License
from hcq0618
public static void WriteLine(this FileStream fs, string format, params object[] values)
{
var buff = string.Format(format, values).GetASCIIBytes();
fs.Write(buff, 0, buff.Length);
fs.WriteLine();
}
19
Source : Extensions.cs
with MIT License
from hcq0618
with MIT License
from hcq0618
public static void WriteLine(this FileStream fs, string line)
{
var buff = line.GetASCIIBytes();
fs.Write(buff, 0, buff.Length);
fs.WriteLine();
}