@@ -6,43 +6,6 @@ class Program
66{
77 static void Main ( string [ ] args )
88 {
9- // Task 1: Review starter code
10-
11- // ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
12- // Task 2: Create a Bank class that includes a collection of BankCustomer objects
13-
14- // Step 1: Add a new class file named Bank to the Data_M2 project
15- // Step 2: Add constructors, properties, and methods to the Bank class definition
16- // - Include a read-only Customers property that provides access to a collection of BankCustomer objects (IReadOnlyList<BankCustomer> Customers)
17- // - Include a method that adds a BankCustomer object to the collection
18- // - Include a method that removes a BankCustomer object from the collection
19- // - Include a method that returns a collection containing all BankCustomer objects
20- // - Include a method that returns a BankCustomer objects based on customer name
21- // - Include a method that returns the total number of transactions
22- // - Include a method that returns the total amount of money in the bank vault
23- // - Include a method that returns the total of all deposits for the day
24- // - Include a method that returns the total of all withdrawals for the day
25-
26-
27- // ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
28- // Task 3: Update the BankCustomer class to include a collection of BankAccount objects
29- // - Add a read-only Accounts property that provides access to a collection of BankAccount objects (IReadOnlyList<BankAccount> Accounts)
30- // - Add a method that adds a BankAccount object to the collection
31- // - Add a method that removes a BankAccount object from the collection
32- // - Add a method that returns a collection containing all BankAccount objects
33- // - Add a method that returns a collection containing all BankAccount objects of a specific account type
34-
35-
36- // ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
37- // Task 4: Update the BankAccount class to include a collection of Transaction objects
38- // - Add a read-only Transactions property that provides access to a collection of Transaction objects (IReadOnlyList<Transaction> Transactions)
39- // - Add a method that adds a Transaction object to the collection
40- // - Add a method that removes a Transaction object from the collection
41- // - Add a method that returns a collection containing all Transaction objects
42-
43-
44- // ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
45- // Task 5: Create collections of BankCustomer and BankAccount objects
469
4710 Console . WriteLine ( $ "Creating Bank, BankCustomer, and BankAccount objects...") ;
4811
0 commit comments