I'm trying to find the C++ .NET equivalent of vector<>, that I can use in a managed class. If I try to make a vector<> member variable, it will not allow it in a managed class.
More specifically, I'm wanting to store arbitrary number of Strings, doubles, and also have a dynamic array of dynamic arrays of doubles.
I've discovered the "ArrayList" class, but that requires convoluted casting to and from .. due to it not being strongly typed. Having been a C++ programmer for many years, this just feels wrong, and there has to be an easier way! I still haven't even managed to figure out how to get doubles in and out of an ArrayList.
So, what is the "correct" .NET way to do this?