Loading...
Searching...
No Matches
PixelCrushers.CSVUtility Class Reference

Static Public Member Functions

static void WriteCSVFile (List< List< string > > content, string filename, EncodingType encodingType)
 Writes a table of strings to a CSV file.
 
static List< List< string > > ReadCSVFile (string filename, EncodingType encodingType)
 Reads a CSV file into a table of strings.
 

Member Function Documentation

◆ ReadCSVFile()

static List< List< string > > PixelCrushers.CSVUtility.ReadCSVFile ( string  filename,
EncodingType  encodingType 
)
inlinestatic

Reads a CSV file into a table of strings.

Parameters
filenameName of CSV file to read.
encodingTypeEncoding type CSV file was created in.
Returns
Contents of CSV file as a 2D list of strings.

◆ WriteCSVFile()

static void PixelCrushers.CSVUtility.WriteCSVFile ( List< List< string > >  content,
string  filename,
EncodingType  encodingType 
)
inlinestatic

Writes a table of strings to a CSV file.

Parameters
content2D list of strings.
filenameFilename to write as.
encodingTypeEncoding type to use.

The documentation for this class was generated from the following file: