Conventions

In this book, you will find a number of styles of text that distinguish between different kinds of information. Here are some examples of these styles, and an explanation of their meaning.

Code words in text are shown as follows: "Now assign a name for the new test project. Let us name it as AddNumbersTestProject."

A block of code is set as follows:

public double CalculateTotalPrice(double quantity)
{
double totalPrice;
double unitPrice;
// Todo get unit price. For test let us hardcode it
unitPrice = 16.0;
totalPrice = unitPrice * quantity;
return totalPrice;
}

When we wish to draw your attention to a particular part of a code block, the relevant lines or items are set in bold:

get
{
return testContextInstance;
}

Any command-line input or output is written as follows:

cd c:Program FilesMicrosoft Visual Studio 10.0Common7IDE

New terms and important words are shown in bold. Words that you see on the screen, in menus or dialog boxes for example, appear in the text like this:"After selecting the required counters, click on Finish to complete the wizard and start the generation of the actual report".

Note

Warnings or important notes appear in a box like this.

Note

Tips and tricks appear like this.

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

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