开发者

I need deep copy of C#.NET Array

开发者 https://www.devze.com 2023-03-12 02:17 出处:网络
I 开发者_如何学JAVAhave an integer Array of 5 elements which is filled with dummy data. The question is how can I create a deep copy of this array.I am working in c#.net

I 开发者_如何学JAVAhave an integer Array of 5 elements which is filled with dummy data. The question is how can I create a deep copy of this array.I am working in c#.net Suppose I have int[] Array1 = new int[5];

Thanks in advance


Clone() is good enough. refer this thread for more information.

0

精彩评论

暂无评论...
验证码 换一张
取 消