Visual Studio Tip #1 – How to Rename Variables

A quick tip for renaming variables in Visual Studio, C#. You can change a variable name by holding the CTRL key and pressing R twice (CTRL+R, R). This will rename the variable by it’s reference. That way you rename every instance of it but you also won’t accidentally change some other piece of code that just happened to contain that string.

Feel free to check the video version of this post: