I am making an app that is going to work with multiple sets of data.
Im going to use an Class to define what all goes in each set of data, as well as giving methods to work with this data.
If i do not know how many sets of data i am going to be working with, but it could be anywhere from 0 to infinity(ok not really infinite since a computer has a finite number of resources, but i dont know how many sets of data im going to be working with). What is the best way to store all the sets? Would i be better off using one object with the fields being an ArrayList, or would i be better off making a field in my main WinForm that is an Array that will hold multiple objects of the data Class?
Is there a better way then either of these 2?