QuickWatch is similar to watch, but as the name suggests, it allows us to evaluate the values at the time. Follow these steps to use QuickWatch in Visual Studio:
- Right-click on the variable you want to analyze and click on QuickWatch:
- This will open a new window where you can see the type, value, and other details related to the variable:
- This is very useful when a variable has a long value or string that cannot be read and evaluated properly by just hovering over the variable.