Skip to content

Commit 8435a00

Browse files
committed
Initialize random customer ID generation in BankCustomer class
1 parent d1f7710 commit 8435a00

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

  • DownloadableCodeProjects/LP3_reuse-inheritance-polymorphism/Reuse_M1/Starter

DownloadableCodeProjects/LP3_reuse-inheritance-polymorphism/Reuse_M1/Starter/BankCustomer.cs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@ public partial class BankCustomer
99

1010
static BankCustomer()
1111
{
12+
Random random = new Random();
1213
nextCustomerId = random.Next(10000000, 20000000);
1314
}
1415

0 commit comments

Comments
 (0)