Ted's Hello World
Wednesday, March 24, 2010
How to do a redim preserver in C#
This block of code dos the same thing:
string[] nums = {"5", "10", "20"};
string[] temp = new string[10];
System.Array.Copy(nums, 0, temp, 0, nums.Length);
nums = temp;
No comments:
Post a Comment
Note: Only a member of this blog may post a comment.
‹
›
Home
View web version
No comments:
Post a Comment
Note: Only a member of this blog may post a comment.