writer class : WriteLine(string) method
Description
Writes the string and the line terminator string.
Syntax
writerInstance.WriteLine(string data)
Arguments
Class | Name | Description |
string | data | The string that will be written to the writer. |
Return value
None
Sample code
1: | writer w = new writer("c:\somewhere...\sample.txt"); |
2: | w.WriteLine("Hello world!"); |
Notes
It's a wrapper of the System.IO.StreamWriter.WriteLine(string).