push vaiable in array c#

115

push vaiable in array c# -

Array.Resize(ref myArray, myArray.Length + 1);
myArray[myArray.GetUpperBound(0)] = newValue;

Comments

Submit
0 Comments