Lecture overview -- Keyboard shortcut: 'u'  Previous page: Associative Arrays -- Keyboard shortcut: 'p'  Next page: Summary of indexers in C# -- Keyboard shortcut: 'n'  Lecture notes - all slides together  Annotated slide -- Keyboard shortcut: 't'  Alphabetic index  Help page about these notes  Course home    Data Access, Properties, and Methods - slide 15 : 29

Example of associating Person with BankAccount
An associative array that maps Person objects to their BankAccount
person.cs
The class Person.
bank-account.cs
The class BankAccount - without owner.
PersonAccountPair.cs
The class PersonAccountPair.
accounts.cs
The class Accounts - the associative array class.
client.cs
A client of Accounts.
In real life, this program would be written with use of Dictionary<Person,BankAccount>