Hi
I currently have a textfile with different types of unit measurements -> from, to, factor (E.g. ounce, gram, 28.0)
So far i've written this:
string from, to, x, y;
double factor, amount, output;
string[] splitData = new string[2];
StreamReader reader = new StreamReader("Filename.txt");
string[] data = reader.ReadToEnd().Split(',');
How would i go abouts looping this entire data and storing each bit for further use?