Conventions used
There are a number of text conventions used throughout this book.
Code in text
: Indicates code words in text, database table names, folder names, filenames, file extensions, pathnames, dummy URLs, user input, and Twitter handles. Here is an example: “Nesting can be a useful tool in building algorithms and can be used with other statements, such as if..else
. Let’s use nesting here by adding another for
loop.”
A block of code is set as follows:
for (int i = 1; i <= 10; i++) { Console.WriteLine(i); }
Any command-line input or output is written as follows:
dotnet new console –o MyFirstApp
Bold: Indicates a new term, an important word, or words that you see onscreen. For instance, words in menus or dialog boxes appear in bold. Here is an example: “When a programmer writes a program, they need to follow the syntax, which are the rules for how the software can be written.”
Tips or important notes
Appear like this.