Test Your Knowledge: Exercises

Exercise 2-1. Insert a bookmark before the Console.Writeline( ) statement in Hello World. Navigate away from it and then use the Bookmarks menu item to return to it.

Exercise 2-2. Undock the Solution Explorer window from the right side of the IDE and move it to the left. Leave it there if you like, or move it back.

Exercise 2-3. Insert a code snippet for a for loop from the Edit → IntelliSense menu into your Hello World program after the WriteLine( ) statement. (It won’t do anything for now; you’ll learn about for loops in Chapter 5.)

Get Learning C# 3.0 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.