- Mastering C# Concurrency
- Eugene Agafonov Andrew Koryavchenko
- 233字
- 2021-07-09 21:26:05
Conventions
In this book, you will find a number of styles of text that distinguish between different kinds of information. Here are some examples of these styles, and an explanation of their meaning.
Code words in text, database table names, folder names, filenames, file extensions, pathnames, dummy URLs, user input, and Twitter handles are shown as follows: "This happens because the Add
method of the List<T>
class is not thread safe, and the reason for this lies in the implementation details."
A block of code is set as follows:
public void Add(T item) { if (_size == _items.Length) EnsureCapacity(_size + 1); _items[_size++] = item; _version++; }
When we wish to draw your attention to a particular part of a code block, the relevant lines or items are set in bold:
public void Add(T item)
{
if (_size == _items.Length) EnsureCapacity(_size + 1);
_items[_size++] = item;
_version++;
}
Any command-line input or output is written as follows:
T2: Add - [T2]: Item 1 T1: Add - [T1]: Item 1 T2: Add - [T2]: Item 2 T2: Add - [T2]: Item 3
New terms and important words are shown in bold. Words that you see on the screen, in menus or dialog boxes for example, appear in the text like this: "Click on Finish and repeat all this for another controller."
- Vue.js 2 and Bootstrap 4 Web Development
- Twilio Best Practices
- Rake Task Management Essentials
- Python程序設計案例教程
- TradeStation交易應用實踐:量化方法構建贏家策略(原書第2版)
- 利用Python進行數據分析
- JavaScript腳本特效編程給力起飛
- 運維前線:一線運維專家的運維方法、技巧與實踐
- 寫給大家看的Midjourney設計書
- Drupal 8 Development Cookbook(Second Edition)
- 快樂編程:青少年思維訓練
- Offer來了:Java面試核心知識點精講(框架篇)
- Getting Started with RethinkDB
- C語言程序設計
- C#程序設計基礎與實踐