Click or drag to resize
Accord.NET (logo)

CsvReader Constructor (TextReader, Boolean, Int32)

Initializes a new instance of the CsvReader class.

Namespace:  Accord.IO
Assembly:  Accord.IO (in Accord.IO.dll) Version: 3.6.0
Syntax
public CsvReader(
	TextReader reader,
	bool hasHeaders,
	int bufferSize
)
Request Example View Source

Parameters

reader
Type: System.IOTextReader
A TextReader pointing to the CSV file.
hasHeaders
Type: SystemBoolean
if field names are located on the first non commented line, otherwise, .
bufferSize
Type: SystemInt32
The buffer size in bytes.
See Also