Conventions

>Conventions

We've used a number of different styles of text and layout in this book to differentiate between different kinds of information. Here are some examples of the styles used, and an explanation of what they mean.

Code has several fonts. If we're talking about code in the body of the text, we use a fixed-width font like this: foreach . If it's a block of code that you can type as a program and run, on the other hand, then it will appear as follows :

 If(Thread.CurrentPrincipal.Identity.IsAuthenticated)      {        pnlUser.Text = Thread.CurrentPrincipal.Identity.Name;        EnableMenus();      } 

Sometimes, you'll see code in a mixture of styles, like this:

 dgProjects.DataSource = ProjectList.GetProjectList();     DataBind();  // Set security     System.Security.Principal.IPrincipal user;     user = Threading.Thread.CurrentPrincipal;  

When this happens, the code with a normal font is code you're already familiar with, or code that doesn't require immediate action. Lines in a bold font are new additions to the code since we last looked at it, or else they indicate something that we particularly want to draw your attention to.

Tip 

Advice, hints, and background information appear in this style.

Note 

>Important pieces of information are included here.

Bullets appear indented, with each new bullet marked as follows:

  • Important words are in italics.



Expert C# Business Objects
Expert C# 2008 Business Objects
ISBN: 1430210192
EAN: 2147483647
Year: 2006
Pages: 111

flylib.com © 2008-2017.
If you may any questions please contact us: flylib@qtcs.net