Lecture overview -- Keyboard shortcut: 'u'  Previous page: Overview of the class <b><kbd>Dictionary<K,V></kbd></b> -- Keyboard shortcut: 'p'  Next page: Notes about Dictionary Classes -- Keyboard shortcut: 'n'  Lecture notes - all slides together  Annotated slide -- Keyboard shortcut: 't'  Textbook -- Keyboard shortcut: 'v'  Alphabetic index  Help page about these notes  Course home    Collection Classes - slide 27 : 36

Sample use of class Dictionary<K,V>
A dictionary that maps Persons to BankAccounts
person.cs
A class Person.
bank-account.cs
A class BankAccount.
prog.cs
A program working with Dictionary<Person,BankAccount>.
output
Output from the Dictionary<Person,BankAccount> program.
Go to exercise
Switching from Dictionary to SortedDictionary