Chapter 2: Visual Studio 2005

Quiz

Solution to Question 2–1.

A project results in the production of an executable or a library. Most solutions consist of a single project, but many consist of two or more.

Solution to Question 2–2.

Click and drag on the title bar; use the indicators for placement.

Solution to Question 2–3.

Toggles between lock in place, and hide as a tab.

Solution to Question 2–4.

F5 indicates run with debugging; Ctrl-F5 indicates run without debugging.

Solution to Question 2–5.

Allows you to store more than one item on the clipboard.

Solution to Question 2–6.

Ctrl-Shift-V cycles through all the selections.

Solution to Question 2–7.

Allows you to search for symbols (namespaces, classes, and interfaces) and their members (properties, methods, events, and variables).

Solution to Question 2–8.

A tool for returning to a specific place in your code.

Solution to Question 2–9.

An editing tool to help you find the right method and/or the correct parameters and much more.

Solution to Question 2–10.

A complete outline of a commonly used programming structure with replaceable items to speed development.

Exercises

Solution to 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.

Your Visual Studio window should look something like Figure A-1.

Exercise 2-1

Figure A-1. Exercise 2-1

Solution to 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.

Your Visual Studio window should look something like Figure A-2.

Solution to Exercise 2-3.

Insert a code snippet for a for loop from the Edit → Intellisense menu into your Hello World program. (It won’t do anything for now; you’ll learn about for loops in Chapter 4.)

Your Visual Studio window should look something like Figure A-3.

Exercise 2-2

Figure A-2. Exercise 2-2

..................Content has been hidden....................

You can't read the all page of ebook, please click here login for view all page.
Reset