Multiple choice

How do you examine the content of the variables and objects in scope in each line of a code without actually seeing their content within the functions where they exist?

  1. Immediate Window

  2. Local Window

  3. Auto Window

  4. Quick Watch Window

Reveal answer Fill a bubble to check yourself
B Correct answer
Explanation

The Locals window in Visual Studio debugger displays all variables and objects currently in scope at the selected line of execution. Unlike the Immediate Window (for commands) or Auto Window (variables near current line), Locals shows the complete scope. The question phrasing is awkward but refers to this debugging window.