You should use the Refactor from the Visual Studio's options to Rename things.
You can learn more on Rename Refactoring
here[
^]. You should consider reading the table, and the namespace section in it. It explains the work done by the Refactoring tool.