I have a class written that I instantiate into an array (one dimension) that is constantly Redimensioned.
When I exit the program, how do I properly dispose of every entity? Do I loop through all the elements in the array and dispose each one, or can I just use
ReDim MyArray(0)
MyArray(0).Dispose
(assuming that ReDim will automatically dispose array elements 1, 2, etc... when I shorten the array)
TIA
-C
