I need to store data in a string array, where I can store thousands of elements, cycle through them continually, but then delete the oldest and add more to it continually while deleting the oldest.
What data structure would be best in terms of access and memory use?
Also, I need 10 of these (essentially a 2-dimensional) and set the size of the array (number of elements in each), how would I structure the initialization for it?
I'm currently using this, but I doubt it's best suited and I can't figure out how to set the number of elements in each:
private List[] chanValues = new List[10];
Thanks.