I have my following code to read values from csv file and do some processing. I would like to skip the first row of the input csv file as it contains header text but I\'d wa
Just read the first line and do nothing with it...
List values = new List();
using (StreamReader sr = new StreamReader(filePath))
{
sr.ReadLine();
while (sr.Peek() != -1)
{
string line = sr.ReadLine();
List lineValues = line.Split(',').ToList();
//***//
}
}