Small translation issue

im trying to translate this javascript string into C#

private var s_toolbars : String[] = ["STATUS", "INVENTORY", "EQUIPMENT"];

here is my translation and both Unity and Monodevelop give me a “unexpected symbol [” error message for some reason

string[] s_toolbars = ["STATUS", "INVENTORY", "EQUIPMENT"];

http://www.dotnetperls.com/string-array

Your line should be

string[] s_toolbars = {"STATUS", "INVENTORY", "EQUIPMENT"};

Hence the unexpected