
We learned about Dictionary and Hashmaps and the hash algorithm usage to store and retrieve data. we used int, string and object types for both keys and values and explored the Dictionary API

More topics covered:
-
- Hash collision
- Object Hash code as key
- Dictionary.TryGetValue
- Dictionary[ key ]
- Dictionary.Add
- Dictionary.ContainsKey
- foreach (KeyValuePair<type, type> item in dictionaryName) …
- Disadvantage of using object as a key
Links: