In the Visual Studio 2010 , when we select a variable , all the instances of the variables are highlighted automatically .
This works similar to FindAll .. giving the developer a clear overview of the instances used in the form by highlighting the selected text/ variable .
If you don’t like this feature and want to disable it , here’s are the steps to be followed .
- Go to Tools
- Select Options
- Click Text Editor
- Click C# and select Advanced
- Uncheck the option “Highlight references to symbol under cursor” .