In this way:
string[] strArray2 = new string[1];
string[] tmpArray = new string[strArray2.Length + 1];
Array.Copy(strArray2, tmpArray, strArray2.Length);
strArray2 = tmpArray;
Also, you can use this:
Array.Resize(ref strArray2, strArray2.Length + 1);
But C# has
List<string>
class. It's much more simple to add elements to it .