Click or drag to resize
Accord.NET (logo)

CsvReaderFromText Method

Creates a new CsvReader to read from a string.

Namespace:  Accord.IO
Assembly:  Accord.IO (in Accord.IO.dll) Version: 3.8.0
Syntax
public static CsvReader FromText(
	string text,
	bool hasHeaders
)
Request Example View Source

Parameters

text
Type: SystemString
The text containing the fields in the CSV format.
hasHeaders
Type: SystemBoolean
if field names are located on the first non commented line, otherwise, .

Return Value

Type: CsvReader
See Also