Herfried,
Another alternative is System.Buffer.BlockCopy, especially if you are
dealing with Arrays of Primitive Types (Byte, Char, Short, Integer, Long,
Single, Double). Actually Buffer only works with arrays of Primitive Types.
Reading the help it sounds like Buffer performs better then the similar
methods in Array.
Hope this helps
Jay
"Herfried K. Wagner [MVP]" <hirf-spam-me-(E-Mail Removed)> wrote in message
news:bm32c7$hqdnb$(E-Mail Removed)...
> * "Cor" <(E-Mail Removed)> scripsit:
> > > I forgot to mention that you can use 'Array.Copy' for copying an array
> > > too.
> >
> > Is it better or "use too"?
>
> It's an alternative.
>
> --
> Herfried K. Wagner
> MVP · VB Classic, VB.NET
> <http://www.mvps.org/dotnet>
|