Tag Archives: comma-separated-value

Graph historical Dow Jones Industrial Average values in C#

This program graphs historical prices for the Dow Jones Industrial Average. I got the data from this URL: ichart.finance.yahoo.com/table.csv?s=^DJI&a=0&b=1&c=1990&d=0&e=1&f=2020&g=d&ignore=.csv The fields in the URL are: s=^DJI – Get Down Jones Industrial data a=0 – The start month number is 0 … Continue reading

Posted in finance, graphics, mathematics | Tagged , , , , , , , , , , , , , , | 3 Comments

Read a CSV file into an array in C#

The following LoadCsv method reads the CSV file into a two-dimensional array of strings. // Load a CSV file into an array of rows and columns. // Assume there may be blank lines but every line has // the same … Continue reading

Posted in files, strings | Tagged , , , , , , , , , , , | 140 Comments