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.
Use List instead of string[].
List
string[]
List allows you to add and remove items with good performance.