array<String^>^ arr // ^ Error here: "too few arguments for class template "std::array"" gcnew array<String^>(vec.size()) // ^ Error: "Expected a type specifier"