No one has voted on any posts yet. Votes from other community members are used to determine a member's reputation amongst their peers.
MY bad this should below to C#... ignore this one please, sorry about that... --------------------------------------------------------------------------------------------- Hi people I found I can only reset the values in the array but I can resize it in a new method and return it back to main method, [CODE] static void Main() { int[] … |
|
Hi people I found I can only reset the values in the array but I can resize it in a new method and return it back to main method, [CODE] static void Main() { int[] myArray = new int[4]; setLength(myArray, 8); } static void setLength(int[] myArray, int length) { Array.Resize(ref … |