I want to move 1 array to another in C#

Posted by George on Stack Overflow See other posts from Stack Overflow or by George
Published on 2010-04-22T12:37:43Z Indexed on 2010/04/22 12:43 UTC
Read the original article Hit count: 267

Filed under:
|

Hi, This is just a quick question in C#.

I have a scenario where I am working with several devices that all have slightly different data to work with.

When I work out which device I am using, I want to set up a common array to use throughout the code, say arrayCommon.

So I want to move the info from device1 to the common array.

Do I have to do this in a loop for each occurance in the array or can u move the whole array into the common array, as you could in Cobol all those years ago ?

Thanks, George.

© Stack Overflow or respective owner

Related posts about c#

Related posts about arrays