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!
 
Back
Top