push vaiable in array c#

118

push vaiable in array c# -

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

Comments

Submit
0 Comments