I am new to C# and I have been trying to understand how I can read from a CSV file a specific value. My file has the following format
08/11/2012 01:00:00,28/11/2012 01:00:00,29/11/2012 01:00:00,88,
08/11/2012 01:00:00,29/11/2012 01:00:00,30/11/2012 01:00:00,88,
08/11/2012 01:00:00,30/11/2012 01:00:00,01/12/2012 01:00:00,88,
08/11/2012 01:00:00,01/12/2012 01:00:00,02/12/2012 01:00:00,90.25,
08/11/2012 01:00:00,02/12/2012 01:00:00,03/12/2012 01:00:00,90.25,
I want to read and save to a list as string the last values (i.e 88 90.25
, etc). I tried everything that I found until now here to this forum but it is not working in my case.
I want to do this because I want to compare this list with another string list that take this values from an XML file which is produced from another model that I run. Thanks a lot for your help!
**this csv file contains ~55000 lines with the above format.