public static void Main()
Person person = new Person();
person.IncreaseSalary(50);
Employee employee1 = new Employee("Ivan Ivanov",25,3000);
employee1.IncreaseSalary(10,2);
BankAccount bankAcc = new BankAccount();
Console.WriteLine(bankAcc.ToString());
Console.WriteLine(person.ToString());
Console.WriteLine(employee1.ToString());
public void Deposit(double amount)
public void Withdraw(double amount)
public override string ToString()
return $"Account with id {this.ad} have BalNCE {this.balance}";
private List<BankAccount> accounts = new List<BankAccount>():
private List<BankAccount> Accounts