writer class : Write(string) method

Description

Writes a string to the writer.

Syntax

writerInstance.Write(string data)

Arguments

ClassNameDescription
stringdataA 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.

Links for reference

Copyright © Cooker All rights reserved.