Skip to Main Content
C# in a Nutshell, Second Edition
book

C# in a Nutshell, Second Edition

by Peter Drayton, Ben Albahari, Ted Neward
August 2003
Intermediate to advanced content levelIntermediate to advanced
928 pages
32h 1m
English
O'Reilly Media, Inc.
Content preview from C# in a Nutshell, Second Edition

Conventions Used in This Book

The following typographical conventions are used in this book.

Italic is used for:

  • Directory pathnames and filenames

  • Domain names and example URLs

  • New terms where they are first defined

Constant width is used for:

  • Code examples and output

  • Names and keywords in C# programs, including method or field names, variable names, and class names

  • XML and HTML element tags

  • Registry keys

Constant width italic is used for:

  • Replaceable parameter names or user-provided elements in syntax

In several parts of this book, we have included simple grammar specifications for many, but not all, of the language constructs introduced in this book, to provide you with a fast way to understand the grammar of a particular construct and its valid combinations. In this grammar syntax, the XML occurrence operators (?, *, and +) are used to specify more precisely the number of times an element may occur in a particular construct:

x

Indicates x is to be used verbatim (constant width)

x

Indicates x is supplied by the programmer (constant width italic)

x?

Indicates x may occur zero or one times.

x*

Indicates x may occur zero or more times, separated by commas.

x+

Indicates x may occur one or more times, separated by commas.

[...]

Indicates a logical grouping of code elements, when not implicitly grouped using the verbatim terms { }, ( ), and [ ].

[x|y]

Indicates only one of a choice of code elements may occur.

Tip

This icon designates a note, which is an important aside to the nearby text.

Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Start your free trial

You might also like

C# in a Nutshell

C# in a Nutshell

Ben Albahari, Ted Neward, Peter Drayton
C# 7.0 in a Nutshell

C# 7.0 in a Nutshell

Joseph Albahari, Ben Albahari
C# Cookbook, 2nd Edition

C# Cookbook, 2nd Edition

Jay Hilyard, Stephen Teilhet
C# Cookbook

C# Cookbook

Stephen Teilhet, Jay Hilyard

Publisher Resources

ISBN: 0596005261Catalog PageErrata