Avalonia Code OnlyItaliano

API › RAVAL

RCsv class

public static class RCsv

CSV text written and read back.

Methods

static string Write(IReadOnlyList<string> headers, params double[][] columns)

The CSV of the given columns, all of the same length, with the header on the first line.

static string Write(string headerX, IReadOnlyList<RSeries> series)

The CSV of the curves of a chart: the abscissas of the first one, then one column for each curve, interpolated where its abscissas are different.

static string Write(RTable table)

The CSV of a table: its headers and its rows as they are.

static List<string[]> Read(string text)

The rows of a CSV text, cells unquoted.