You're already able to create and populate a dynamic array outside of a class, right? What is it about doing it on a class member that's giving you trouble? Also, when I write code in Visual Studio ...
Dynamic arrays can be created and initialized in five ways: with the COPYARRAY function. See Using The COPYARRAY Function for more information. using simple assignment statements that copy the values ...