static void Main(string[] args) { //Using command line arguments here would be a good idea. string path = "Some/Random/Directory/File.csv"; var dataTable = ReadCSV.GetDataTabletFromCSVFile(path); //Now do something with dataTable... }
static void Main(string[] args) { DataTable Tbl = ReadCSV.GetDataTabletFromCSVFile(path); }
static void Main(string[] args) { var dataTable = ReadCSV.GetDataTabletFromCSVFile(path); //Now do something with dataTable... }