How to ignore the first line in a csv file when you read the csv file in C#
I now how to read a csv file in C#. For instance, the file data consists
of three columns, you can make an array that has three columns and the
number of rows does not matter since you can use, for instance a while
loop that read the csv file until it gets null.
I just want to know how not to read the first line of a csv file and read
the rest of it. Sometimes data files such as .txt, .csv contains different
types of data. In a csv file, it might have "store catalog" in the first
line as the title and then have a phone number, a owner name, a monthly
sale in each line from the second line.
No comments:
Post a Comment