public override string ToString()
 {
     return("Bank name: " + BankName.ToString() + "/n" +
            "Bank Number: " + BankNumber.ToString() + "/n" +
            "Branch number: " + BranchNumber.ToString() + "/n" +
            "Branch address: " + BranchAddress.ToString() + "/n" +
            "Branch city: " + BranchCity.ToString() + "/n");
 }
Esempio n. 2
0
 // public long BankAccountNumber { get; set; }
 public override string ToString()
 {
     return(BankNumber.ToString() + BankName.ToString() + BranchNumber.ToString() + BranchAddress.ToString() +
            BranchCity.ToString().ToString());
 }
Esempio n. 3
0
 public Banks.Bank Get(BankName bank, string email = "")
 {
     return((Banks.Bank)memory.Get(email + "_" + bank.ToString()));
 }
Esempio n. 4
0
 public override string ToString()
 {
     return("Bank Number: " + BankNumber.ToString() + "\nBank Name: " + BankName.ToString() + "\nBank Branch Address: " + BankBranchAddress.ToString() + "\nBranch City: " + BranchCity.ToString() + "\nAccount Number: " + AccountNumber.ToString());
 }