Use string[]
when you need to work with static arrays: you don’t need to add and remove elements -> only access elements by index. If you need to modify the collection use List<string>
. And if you intend to only loop through the contents and never access by index use IEnumerable<string>
.