Document Conventions

The following table shows the typographic conventions used in the .NET Framework documentation.

Convention Description Example
Monospace Indicates source code, code examples, input to the command line, application output, code lines embedded in text, and variables and code elements.
Public Class
Bold Indicates most predefined programming elements, including namespaces, classes, delegates, objects, interfaces, methods, functions, macros, structures, constructors, properties, events, enumerations, fields, operators, statements, directives, data types, keywords, exceptions, non-HTML attributes, and configuration tags, as well as registry keys, subkeys, and values. Also indicates the following HTML elements: attributes, directives, keywords, values, and headers.

In addition, indicates required user input, including command-line options, that must be entered exactly as shown.

Path class

Resolve method

Italic Indicates placeholders, most often method or function parameters and HTML placeholders; these placeholders represent information that must be supplied by the implementation or the user.

For command-line input, indicates parameter values.

context parameter
Capital letters Indicates the names of keys and key sequences. ENTER

CTRL+R

Plus sign Indicates a combination of keys. For example, ALT+F1 means to hold down the ALT key while pressing the F1 key. ALT+F1

See Also

Getting Started

Show: