Works well with C# too I just did this
// Create function to read csv file
// take file path as input as well as an output array of BstnCSVDataRecord class
// read the file using the FileHelperEngine class
// return the array of BstnCSVDataRecord class
private static void ReadCsvFile(string file, out List<BstnCSVDataRecord> bdAry)
{
bdAry = new List<BstnCSVDataRecord>();
var engine = new FileHelperEngine<BstnCSVDataRecord>();
engine.ReadFile(file);
bdAry = engine.Data;
}
Wrote the comments, robot did the function for me