Make class abstract
Applies to: Visual Studio
Visual Studio for Mac
Visual Studio Code
This refactoring applies to:
C#
Visual Basic
What: Make class abstract refactoring.
When: You write an abstract method in a class that is not abstract.
Why: Having a code fix to make a class abstract after writing an abstract method will save you time.
How-to
Place your caret on the abstract method.
Press Ctrl+. to trigger the Quick Actions and Refactorings menu.
Select Make class 'abstract'.
See also
Feedback
Submit and view feedback for