Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
managed or WinRTarray dimension mismatch : expected N argument(s) - M provided
Remarks
A managed or WinRT array declaration was ill formed. For more information, see array.
Example
The following example generates C2767 and shows how to fix it:
// C2767.cpp
// compile with: /clr
int main() {
array<int> ^p1 = new array<int>(2,3); // C2767
array<int> ^p2 = new array<int>(2); // OK
}