- 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.
推薦閱讀
- 面向物聯(lián)網(wǎng)的CC2530與傳感器應(yīng)用開發(fā)
- C++黑客編程揭秘與防范
- Learning Karaf Cellar
- 網(wǎng)絡(luò)互聯(lián)技術(shù)(實踐篇)
- 大話社交網(wǎng)絡(luò)
- Yii Application Development Cookbook(Second Edition)
- Windows Server 2012 Hyper-V虛擬化管理實踐
- 5G+區(qū)塊鏈
- Learning Node.js Development
- 轉(zhuǎn)化:提升網(wǎng)站流量和轉(zhuǎn)化率的技巧
- Getting Started with tmux
- 深入理解計算機網(wǎng)絡(luò)
- 5G新型多址技術(shù)
- 企業(yè)網(wǎng)絡(luò)組建與維護項目式教程
- MobX Quick Start Guide