c# Copying a 2 Dimensional Array
by brian on Feb.12, 2008, under Uncategorized
Here’s a snippet to copy a 2D array.
double[,] a = new double[3,3]{{1,2,3},{2,3,4},{3,4,5}};
double[,] b = new double[3,3];
Array.Copy(a,b,a.Length);
Pretty simple isn’t it!
No comments for this entry yet...
Leave a Reply
You must be logged in to post a comment.
