I have a variable called in_data which updates every second. I want to save this data into an array or list. The number of data received cannot be defined . Is there a way for me to save this indefinite number of data ????
For example lets say i have 11 data value changes for the in_data variable. I want to store all of them so that i can use that data for later manipulations.
Thank You in advance.
in_data = myport.ReadLine();
myCollection = new List();
myCollection.Add(in_data);
but this only saves the last instance of the data,, i want all the data that was received to be saved