Home Notices Documents Classes Download Others Rice
Classes  >  writer  >  WriteLine(string)
writer class : WriteLine(string) method

Description

Writes the string and the line terminator string.

Syntax

writerInstance.WriteLine(string data)

Arguments

ClassNameDescription
stringdataThe 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).

Links for reference

Copyright © Rice All rights reserved.