How to add a string to a string[] array? There’s no .Add function
You can’t add items to an array, since it has fixed length. What you’re looking for is a List<string>, which can later be turned to an array using list.ToArray(), e.g.
You can’t add items to an array, since it has fixed length. What you’re looking for is a List<string>, which can later be turned to an array using list.ToArray(), e.g.