Adding an element to an array in C#
Posted by Sebastien Lachance on September 26, 2007
It’s probably the same thing in VB.NET but the example is in C#.
1: Address[] addresses = customer.AddressList;
2:
3: Array.Resize(ref addresses, addresses.Length + 1);
4:
5: addresses[addresses.Length - 1] = address;
