CSharp Basic Questions and Answers

What is the difference between a project and a solution?
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.

How do you move windows in the IDE?
Click and drag on the title bar; use the indicators for placement.

What does the pushpin do on a window?
Toggles between lock in place, and hide as a tab.

What is the difference between pressing F5 and Ctrl-F5 from within Visual Studio 2005?
F5 indicates run with debugging; Ctrl-F5 indicates run without debugging.

What is the Clipboard Ring?
Allows you to store more than one item on the clipboard.

How do you retrieve items from the clipboard ring?
Ctrl-Shift-V cycles through all the selections.

What is "Find Symbol" for?
Allows you to search for symbols (namespaces, classes, and interfaces) and their members (properties, methods, events, and variables).

What are bookmarks?
A tool for returning to a specific place in your code.

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

What is a code snippet?
A complete outline of a commonly used programming structure with replaceable items to speed development.

No comments: