Array Concatenation in C#

Posted by Betamoo on Stack Overflow See other posts from Stack Overflow or by Betamoo
Published on 2010-05-07T12:54:16Z Indexed on 2010/05/07 12:58 UTC
Read the original article Hit count: 270

1- How to smartly initialize an Array with 2 (or more) other arrays in C#?

double[] d1=new double[5];
double[] d2=new double[3];
double[] dTotal=new double[8];// I need this to be {d1 then d2}

2- Another question: How to concatenate C# arrays efficiently?

Thanks

© Stack Overflow or respective owner

Related posts about c#

Related posts about arrays