
上QQ阅读APP看书,第一时间看更新
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: "The next thing to do is to delete the Address
node."
A block of code will be set as follows:
[XmlElementAttribute("FailureScreen", typeof(FailureScreen)] [XmlElementAttribute("StandardScreen", typeof(StandardScreen)] public object Item { get { return this.itemField; } set { this.itemField = value; } }
When we wish to draw your attention to a particular part of a code block, the relevant lines or items will be shown in bold:
public bool BuyThisBook(int copies)
{
if(copies <=2)
{
//inserted new code here
PlaceOrder(copies + 2);
}
}
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 our text like this: "clicking the Next button moves you to the next screen".