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