Visual Studio has a refactor to rename corresponding file when a class name is changed

FYI… Visual Studio has a refactor which can be used to quickly rename the containing file when a class name is changed.

The refactor is available from the Quick Actions menu just to the left of your code…

Leave a Reply

Your email address will not be published. Required fields are marked *