I want to transfer an array from Form1 to Form2, then on Form2 add some values to the array. On Form1 button click I put this code:
int[] arrayOfInt
Use List and use oList.Add(item) method to add elements as array is Fixed in Lenght (you already giving it size at a time of initialization)
But if you want to use array at any cost then make a logic to create a new array upto the size of Old+ new added element and return that.
UPDATED I believe you are facing problem because you have taken List of String instead or Int.
List oIntList = new List();
oIntList.Add(1);
oIntList.Add(3);
oIntList.Add(4);
oIntList.Add(5);
int[] oIntArr = oIntList.ToArray();