Click or drag to resize
Accord.NET (logo)

CsvReader Constructor (TextReader, Boolean, Char)

Initializes a new instance of the CsvReader class.

Namespace:  Accord.IO
Assembly:  Accord.IO (in Accord.IO.dll) Version: 3.8.0
Syntax
public CsvReader(
	TextReader reader,
	bool hasHeaders,
	char delimiter
)
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).
See Also