First you should consider if you really need to make this copying, since an
array in itself implements the interfaces ICollection, IList and
IEnumerable.
If you then decide that you want to do this operation anyway, there are many
ways to do it, depending on what you mean by "copying".
int[] arrayOfInts;
// Some initializing and population of the array...
ArrayList myList = new ArrayList(arrayOfInts);
....is possibly the simplest way.
// Bjorn A
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.