コード例 #1
0
 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");
 }
コード例 #2
0
ファイル: Order.cs プロジェクト: arielfrja/dotNet_Project
 public override string ToString()
 {
     return("order ID: " + orderID.ToString()
            + "\n Order date: " + date.ToString()
            + "\n Branch number" + BranchNumber.ToString()
            + "\n Kashrut Level:" + kashrutLevel.ToString()
            + client.ToString());
 }
コード例 #3
0
 public override string ToString()
 {
     return("Bank Account Number: " + BankAccountNumber.ToString() + "\n" +
            "my commition: " + MyCommition.ToString() + "\n" +
            "Collection Clearance? " + CollectionClearance.ToString() + "\n" +
            "Bank name: " + BankName + "/n" +
            "Bank Number: " + BankNumber.ToString() + "/n" +
            "Branch number: " + BranchNumber.ToString() + "/n" +
            "Branch address: " + BranchAddress + "/n" +
            "Branch city: " + BranchCity + "/n");
 }
コード例 #4
0
        public override string ToString()
        {
            string s;

            s = "bank number: " + BankNumber.ToString() + ", bank name: " + BankName + ", branch number: " + BranchNumber.ToString()
                + ",branch address: " + BranchAddress + ", branch city: " + BranchCity;
            return(s);
        }
コード例 #5
0
ファイル: BankBranch.cs プロジェクト: RuthMil/.Net-Project
 public override string ToString()
 {
     return("Bank Number: " + BankNumber.ToString() + " Bank Name: " + BankName + " Branch Number: " + BranchNumber.ToString() +
            " Branch Address: " + BranchAddress + ", " + BranchCity + '\n');
 }
コード例 #6
0
 public override string ToString()
 {
     return(BankNumber.ToString() + BankName + BranchNumber.ToString() + BranchAddress + BranchCity);
 }