I would like to programmatically add or remove some elements to a string array in C#, but still keeping the items I had before, a bit like the VB function ReDim Preserve.
One liner:
string[] items = new string[] { "a", "b" }; // this adds "c" to the string array: items = new List(items) { "c" }.ToArray();