Home Cooker Classes Others Rice CookerGX
Classes  >  reader  >  reader(string)
reader class : reader(string) fitter

Description

Gets a new instance of reader type which is Initialized with the specified file name.

Syntax

new reader(string fullPath)

Arguments

ClassNameDescription
stringfullPathThe complete file path.

Return value

ClassDescription
readerA reader type instance that was initialized by specified value.

Sample code

reader readerInstance = new reader("c:\Users\....\target.txt");

Notes

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

The Encoding is UTF-8.

Links for reference

Copyright © Rice All rights reserved.