Make class abstract
Applies to: Visual Studio Visual Studio for Mac Visual Studio Code
This refactoring applies to:
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.
Place your caret on the abstract method.
Press Ctrl+. to trigger the Quick Actions and Refactorings menu.
Select Make class 'abstract'.
Submit and view feedback for