I have a .csv file that looks like this:
Index,Time,value
1,0,20
2,1,30
What I want to do is to open the .csv file in C# and then read it by getting row = 0, column = 0
which would give me value 1
in the case above. Much like this:
public double GetVal(int row, int column)
{
...
return val;
}
I have looked around for a solution, for example this one: Remove values from rows under specific columns in csv file
But I need to be able to specify both the column and row in the function to get the specific value.