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
Class | Name | Description |
string | fullPath | The complete file path. |
Return value
Class | Description |
reader | An 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.