Dynamic Multidimensional Arrays

  • Thread starter Thread starter Pete Z
  • Start date Start date
P

Pete Z

Hello folks,

How do I achieve this:

redim preserve iaCount(2, iIndex)

with C# please?

Regards
Pete
 
You create a brand new array of the appropriate size and then copy the
elements from the old array and release any pointers to the old array so
that it gets GC'ed when it comes time.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top