xxxxxxxxxx
var temp = File.ReadAllLines(@"C:\myFile.csv"); // reads the content of file and closes it
public List<SomeClass>() data = new List<SomeClass>();
foreach(string line in temp)
{
var value = line.Split(',');
data.Add(new MyMappedCSVFile(value[0], value[3]));
}
when you split the content in line, value variable becomes an array containing the content in each row from your csv file. So you can specify which column you will store in your list since each index will be from a specific row.