Are there Dynamic Arrays in C#?

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

What I would like to do is create an array that grows. But I don't see any functionality in .NET that allows it other that in other languages like VB or JScript. Is there a reason for this? The only way I can see to do this is to allocate arrays and copy the content to bigger arrays as needed. Any help would be appreciated. Thanks

- rashad rivera
 
System.Collections.ArrayList


--
____________________
Klaus H. Probst, MVP
http://www.vbbox.com/

Rashad Rivera said:
What I would like to do is create an array that grows. But I don't see
any functionality in .NET that allows it other that in other languages like
VB or JScript. Is there a reason for this? The only way I can see to do
this is to allocate arrays and copy the content to bigger arrays as needed.
Any help would be appreciated. Thanks!
 

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

Similar Threads


Back
Top