In C# with Visual Studio and Resharper:
* Have cursor on 'Dog' * Ctrl-R-R * Type 'Animal' * Press Enter
Done. And your code won't be littered with 'old' types and other garbage.
* Have cursor on 'Dog' * Ctrl-R-R * Type 'Animal' * Press Enter
Done. And your code won't be littered with 'old' types and other garbage.