- iOS 12 Programming for Beginners
- Craig Clayton
- 83字
- 2021-07-02 15:05:01
Dictionaries
A dictionary is an unordered collection of values, with each one accessed through a unique key. Let's look at the following diagram:

In our diagram, we have a dictionary of pizzas (keys) with their prices (values). To find something inside a dictionary, we must look it up according to its key. Let's look at a dictionary syntax:
Dictionary<Key, Value>
Now, that we understand what a dictionary is and its syntax let's look at how we can use it by creating our first dictionary.
推薦閱讀
- C++黑客編程揭秘與防范
- 智慧城市中的移動(dòng)互聯(lián)網(wǎng)技術(shù)
- 企業(yè)私有云建設(shè)指南
- 中小型局域網(wǎng)組建、管理與維護(hù)實(shí)戰(zhàn)
- Mastering Dart
- Kong網(wǎng)關(guān):入門、實(shí)戰(zhàn)與進(jìn)階
- OMNeT++與網(wǎng)絡(luò)仿真
- 搶占下一個(gè)智能風(fēng)口:移動(dòng)物聯(lián)網(wǎng)
- 計(jì)算機(jī)網(wǎng)絡(luò)技術(shù)及應(yīng)用
- 4G小基站系統(tǒng)原理、組網(wǎng)及應(yīng)用
- 通信十年:擁抱互聯(lián)網(wǎng)
- Learning Windows 8 Game Development
- 深入理解OpenStack Neutron
- 云工廠:開啟中國(guó)制造云時(shí)代
- Building RESTful Web Services with .NET Core