I have been trying to read a .CSV file into my WP8.1 application.
I found this question: Reading CSV file and storing values into an array, however the Visual Studio does not allow me to use:
StreamReader(File.OpenRead(@"DataModel/ukhpi.csv"))
As shown in most of the answers, including the top answer.
Specifically, 'File.OpenRead' isn't recognised as part of the System.IO for my IDE, and I am unsure why. I have declared the namespace at the top of the filemm and {File.OpenRead} does not have the light blue colouration that the other keywords from the System.IO namespace do.
I am essentially trying to open a CSV file in a Windows Phone application, and be able manipulate the data individally in each of the columns. The data looks like this:
2005-01,79
2005-02,78.93
2005-03,79.58
...
Does anyone have any idea why this isn't working?