associative-arrays/PersonAccountPair.cs - The class PersonAccountPair. | Lecture 5 - slide 15 : 29 Program 3 |
using System; public class PersonAccountPair{ private Person person; private BankAccount bankAccount; public PersonAccountPair(Person person, BankAccount bankAccount){ this.person = person; this.bankAccount = bankAccount; } public BankAccount Account { get {return bankAccount;} set {bankAccount = value;} } public Person Person { get {return person;} set {person = value;} } }