Command vs. Immediate Window in Visual Studio
问题 The Command Window and the Immediate Window seem to do very similar things (for example, I can display variables in both windows by typing ? myVariable ). What are the differences and why does Visual Studio include both? 回答1: They do different things. 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