var lines = File.ReadAllLines(filelocation);
char[] space = { ',' };
string templine;
foreach (string line in lines)
{}
how do i do foreach (string line in lines[1:]) ?
i want to skip the first element and start foreach from the second one
If you are targeting .NET 3.5 or above, LINQ:
Although it there is a lot of data, a line-reader may be better, to avoid having to hold all the lines in memory:
then: