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.<
Your syntax is wrong:
string[] arr = new string[]{};
or
string[] arr = new string[0];