Seal Class

Makes the current class sealed (uninheritable).

Availability

From the context menus or via shortcuts:

  • when the edit cursor or caret is on a class declaration.

Example

class ClassA
Class ClassA

Result:

sealed class ClassA
NotInheritable Class ClassA