Click or drag to resize
Accord.NET (logo)

CsvReader Constructor (TextReader, Boolean, Char, Int32)

Initializes a new instance of the CsvReader class.

Namespace:  Accord.IO
Assembly:  Accord.IO (in Accord.IO.dll) Version: 3.7.0
Syntax
public CsvReader(
	TextReader reader,
	bool hasHeaders,
	char delimiter,
	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, .
delimiter
Type: SystemChar
The delimiter character separating each field. If set to zero, the delimiter will be detected from the file automatically. Default is '\0' (zero).
bufferSize
Type: SystemInt32
The buffer size in bytes.
See Also