rename class with file name in one step in Visual Studio

后端 未结 6 1808
醉酒成梦
醉酒成梦 2021-02-18 13:29

I am a long year Java programmer, but currently I code in C#. I am accustomed, that when I change filename, also the class name changes and vice versa. This doesn\'t work in my

6条回答
  •  庸人自扰
    2021-02-18 13:47

    If you 'refactor' something, the name will be changed everywhere where that text or name has been used so you don't have to follow up changing the name every time its been used. However, you cannot do that with objects beyond the project eg: file name.

提交回复
热议问题