Conventions used
There are a number of text conventions used throughout this book.
Code in text
: Indicates code words in text, folder names, filenames, file extensions, pathnames, and user input. Here is an example: “The class contains three properties, namely Id
, Name
, and Role
, as well as two constructors.”
A block of code is set as follows:
int[,] numbers = new int[,] { { 9, 5, -9 }, { -11, 4, 0 }, { 6, 115, 3 }, { -12, -9, 71 }, { 1, -6, -1 } };
When we wish to draw your attention to a particular part of a code block, the relevant lines or items are set in bold:
enum CurrencyEnum { Pln, Usd, Eur };
Any command-line input or output is written as follows:
Name Birth date Temp. [C] -> Result Marcin 09.11.1988 36.6 -> Normal Adam 05.04.1995 39.1 -> High Martyna 24.07.2003 35.9 -> Low
Bold: Indicates a new term, an important word, an important sentence, or words that you see onscreen. For instance, words in menus or dialog boxes appear in bold. Here is an example: “It sounds complicated, but fortunately, it is very simple. A jagged array could be understood as a single-dimensional array, where each element is another array.”
Tips or important notes
Appear like this.