The property MaxSize controls the maximum depth of the array stack. It can be set to any size between 1 and MAX_ARRAYSTACK_SIZE (1000). By default MaxSize is set to 20.
Hint:
Setting the MaxSize property clears the stack, all arrays on the stack are discarded.