Compiler Error C3246
'class' : cannot inherit from 'type' as it has been declared as 'sealed'
A class that is marked as sealed cannot be the base class for any other classes.
The following sample generates C3246:
// C3246_2.cpp
// compile with: /clr /LD
ref class X sealed {};
ref class Y : public X {}; // C3246
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