Home Notices Documents Classes Download Others Rice
Classes  >  reader  >  reader(string)
reader class : reader(string) fitter

Description

Gets a new instance of reader class which is initialized with the specified file name.

Syntax

new reader(string fullPath)

Arguments

ClassNameDescription
stringfullPathThe complete file path.

Return value

ClassDescription
readerAn instance that was initialized by specified value.

Sample code

1:

reader r = new reader("c:\somewhere...\sample.txt");

Notes

It's a wrapper of the System.IO.StreamReader.StreamReader(String,Encoding) constructor.

The Encoding is UTF-8.

Links for reference

Copyright © Rice All rights reserved.