You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: DownloadableCodeProjects/LP4_manage-app-data/Data_M2/Starter/Services/SimulateDepositsWithdrawalsTransfers.cs
+4-15Lines changed: 4 additions & 15 deletions
Original file line number
Diff line number
Diff line change
@@ -3,7 +3,7 @@
3
3
4
4
namespaceData_M2;
5
5
6
-
// TASK 6: Update SimulateDepositWithdrawTransfer Class
6
+
// TASK 5: Update SimulateDepositWithdrawTransfer Class
7
7
// Purpose: Simulate and log transactions using accounts collection for a customer.
8
8
9
9
publicclassSimulateDepositsWithdrawalsTransfers
@@ -66,7 +66,7 @@ public static BankCustomer SimulateActivityDateRange(DateOnly startDate, DateOnl
Copy file name to clipboardExpand all lines: Instructions/Labs/l2p2-lp4-m2-exercise-implement-collection-types.md
+29-80Lines changed: 29 additions & 80 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -109,6 +109,12 @@ Use the following steps to complete this section of the exercise:
109
109
110
110
1. Run the app and review the output in the terminal window.
111
111
112
+
Your app should produce output similar to the following:
113
+
114
+
```plaintext
115
+
Bank Application - demonstrate the use of Collections, HashSets, and Dictionaries.
116
+
```
117
+
112
118
To run your app, right-click the **Data_M2** project under SOLUTION EXPLORER, select **Debug**, and then select **Start New Instance**.
113
119
114
120
## Task 2: Update the Bank class for a customers collection
@@ -334,7 +340,7 @@ Use the following steps to complete this task:
334
340
}
335
341
```
336
342
337
-
>**NOTE**:Theinterfaceprovidesboth `Transactions (IReadOnlyList<Transaction>)` for safe enumeration and `GetAllTransactions()` for a concrete, potentially mutable list (useful for operations that require a `List<T>`). Use `Transactions` when you don’t need to modify the collection.
343
+
>**NOTE**:Theapplicationprovides `Transactions (IReadOnlyList<Transaction>)` for safe enumeration and `GetAllTransactions()` for a concrete, potentially mutable list (usefulforoperationsthatrequirea `List<T>`).
0 commit comments