コード例 #1
0
 public void CloseBusinessAcc()
 {
     if (cust.accounts.Contains(bs))
     {
         if (bs.AccountBalance > 0 || bs.AccountBalance > -100)
         {
             Console.WriteLine("Before closing business account deal with the amount on it!");
             bs.BusinessInfo();
         }
         else
         {
             cust.accounts.Remove(ck);
             Console.WriteLine("Account deleted!");
         }
     }
 }