I need to declare an empty string array and i\'m using this code
string[] arr = new String[0]();
But I get \"method name expected\" error.<
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().ToArray()
(sorry, on mobile)