コード例 #1
0
ファイル: Host.cs プロジェクト: Tzur-Eitan/ProjectIn.Net
 public override string ToString()
 {
     return("Host key: " + HostKey.ToString() + "\n" +
            "First Name: " + FirstName + "\n" +
            "Last Name: " + LastName + "\n" +
            "Fhone Number: " + FhoneNumber.ToString() + "\n" +
            "Mail Address: " + MailAddress + "\n" +
            "Bank Branch Details: " + BankBranchDetails.ToString() + "\n");
 }
コード例 #2
0
ファイル: Host.cs プロジェクト: polinafr/marom
        public override string ToString()
        {
            string s;

            s = $@"Host Key: {HostKey.ToString()}, 
            Private Name: {PrivateName}, Family Name: {FamilyName}, 
            Fhone Number: {FhoneNumber.ToString()}, MailAddress: {MailAddress}, 
            bank Branch: {bankBranch.ToString()}, BankAccountNumber: {BankAccountNumber.ToString()}, CollectionClearance:{CollectionClearance.ToString()} \n";
            return(s);
        }
コード例 #3
0
 public override string ToString()
 {
     return("Host key: " + HostKey.ToString() + "\n" +
            "First Name: " + FirstName + "\n" +
            "Last Name: " + LastName + "\n" +
            "Fhone Number: " + FhoneNumber.ToString() + "\n" +
            "Mail Address: " + MailAddress + "\n" +
            "Bank Branch Details: " + BankBranchDetails.ToString() + "\n" +
            "Bank Account Number: " + BankAccountNumber.ToString() + "\n" +
            "my commition: " + MyCommition.ToString() + "\n" +
            "Collection Clearance? " + CollectionClearance.ToString() + "\n");
 }
コード例 #4
0
ファイル: Host.cs プロジェクト: RuthMil/.Net-Project
 public override string ToString()
 {
     return("Host ID: " + HostKey.ToString() + " Name: " + FirstName + ' ' + LastName +
            " Phone Number: " + PhoneNumber + " Mail Address: " + MailAddress);
 }
コード例 #5
0
 public override string ToString()
 {
     return(HostKey.ToString());
 }
コード例 #6
0
 //for debugging
 public override string ToString()
 {
     return(HostKey.ToString() + PrivateName.ToString() + FamilyName.ToString() +
            FhoneNumber.ToString() + MailAddress.ToString() + BankAccountNumber.ToString() +
            CollectionClearance.ToString());
 }
コード例 #7
0
 public override string ToString()  //for debugging
 {
     return(HostKey.ToString());
 }
コード例 #8
0
 public override string ToString() //do it later
 {
     return(HostKey.ToString());
 }