How do i declare a arraylist variable in c++/cli. and i need to initialise 10 elements in it. How is done and how am i to get the value and gcnew it to array
In .NET, the List<T> class is the generic equivalent of the older, non-generic, ArrayList class. You can check out the MSDN documentation for more information about the class. The topic for List has a fairly comprehensive sample in it that will answer your questions regarding initialization and access.