Compiler Error C2739
'number' : explicit managed or WinRT array dimensions must be between 1 and 32
An array dimension was not between 1 and 32.
The following sample generates C2739 and shows how to fix it:
// C2739.cpp
// compile with: /clr
int main() {
array<int, -1>^a; // C2739
// try the following line instead
// array<int, 2>^a;
}
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for