using System.Collections.Generic;
private List<BankAccount> accounts;
public List<BankAccount> Accounts
public Person(string name, byte age)
Accounts = new List<BankAccount>();
public Person(string name, byte age, List<BankAccount> accounts)
public double GetBalance()
foreach (double item in Accounts)
public static void Main()
Console.WriteLine("Hello World");