
上QQ阅读APP看书,第一时间看更新
In this book, you will find a number of styles of text that distinguish among 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: "Next, we'll add a function to the CModel
class that will allow us to set a given effect to any given mesh part."
A block of code is set as follows:
public ActionResult ReportComplete(string reportName, int fromYear, int fromMonth, int fromDay, int toYear, int toMonth, int toDay) { return View("Report"); }
When we wish to draw your attention to a particular part of a code block, the relevant lines or items are set in bold:
<asp:Content ID="Content2" ContentPlaceHolderID="MainContent" runat="server">
<p>Report</p>
<%: ViewData["report"] %>
</asp:Content>
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: " In this recipe, we will take a look at a way to easily handle that pesky Page cannot be found error."