- 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.
推薦閱讀
- Building E-commerce Sites with VirtueMart Cookbook
- 物聯(lián)網(wǎng)網(wǎng)絡(luò)安全及應(yīng)用
- 物聯(lián)網(wǎng)檢驗檢測技術(shù)
- 網(wǎng)絡(luò)的琴弦:玩轉(zhuǎn)IP看監(jiān)控
- 電力物聯(lián)網(wǎng)工程技術(shù)原理與應(yīng)用
- 世界互聯(lián)網(wǎng)發(fā)展報告·2019
- Mastering JavaFX 10
- Building RESTful Web services with Go
- Microservice Patterns and Best Practices
- 基于性能的保障理論與方法
- INSTANT KineticJS Starter
- 物聯(lián)網(wǎng)與智能家居
- TCP/IP基礎(chǔ)(第2版)
- Learning IoT with Particle Photon and Electron
- CiviCRM Cookbook