G
Guest
I found an article that discussed dynamic allocation of an array but it seems
extremely overloaded in time requirements for function. The process is fine
if there's no data in it, but if there is an additional set of steps is
necessary that make it seem less than efficient:
tmp = Array.CreateInstance(...)
orig.CopyTo(tmp,0)
orig = tmp
I would have thought an Add/Remove method would have been provided and
solution would have been more efficient.
Help? Thoughts?
extremely overloaded in time requirements for function. The process is fine
if there's no data in it, but if there is an additional set of steps is
necessary that make it seem less than efficient:
tmp = Array.CreateInstance(...)
orig.CopyTo(tmp,0)
orig = tmp
I would have thought an Add/Remove method would have been provided and
solution would have been more efficient.
Help? Thoughts?