Command vs Immediate Window in Visual Studio


Immediate window:

The Immediate window is used at design time to debug and evaluate expressions, execute statements, print variable values, and so forth. It allows you to enter expressions to be evaluated or executed by the development language during debugging.

Command window:

The Command window is used to execute commands or aliases directly in the Visual Studio integrated development environment (IDE). You can execute both menu commands and commands that do not appear on any menu.


Immediate window: has all the functionality of the Command Window as long as it starts with ">".

Command window: does not have other functionality since it can't start with anything but ">".