Command Window

The Command window enables evaluating expressions or running functions without running the application or continuing the debug. Figure 5.7 shows the Command window evaluating an Integer.Parse statement and an invocation to our Test method.

Figure 5.7 The Command window enables evaluating expressions and functions.

image

This can be useful, because we do not need to run our application to see if a method works, and we could also evaluate complex expressions before writing code. Just remember that only functions are allowed whereas procedures are not supported. Expressions can be constituted by several .NET objects and Visual Basic keywords, ...

Get Visual Basic® 2010 Unleashed now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.