Should be in C#
Create an inheritance hierarchy that a bank might use torepresent customers’ bank accounts. All customers at this back candeposit (i.e. credit) money into their accounts and withdraw (i.e.debit) money from their accounts. More specific types of accountsalso exist. Savings accounts, for instance, earn interest on themoney they hold. Checking accounts, on the other hand, charge a feeper transaction.
Create base class Account and derived classes SavingsAccount andCheckingAccount that inherit from class Account. Base class Accountshould include the following private instance variables: Balance,which is of type decimal to represent the account balance;AccountName, which is of type string and represents
OR
OR