SyntaxFix
Write A Post
Hire A Developer
Questions
Arrays' constructors are different. Here are some ways to make an empty string array:
var arr = new string[0]; var arr = new string[]{}; var arr = Enumerable.Empty<string>().ToArray()
(sorry, on mobile)