public override string ToString() { return("Branch number: " + Number.ToString() + "\n Branch name: " + Name.ToString() + "\n Branch address: " + Address.ToString() + "\n Branch phone number: " + PhoneNumber.ToString() + "\n Workers amount: " + WorkersAmount.ToString() + "\n Kashrut level: " + KashrutLevel.ToString()); }
public override string ToString() { return("ID: " + ID.ToString() + "\n" + "Password: "******"\n" + "Private Name: " + PrivateName.ToString() + "\n" + "Family Name: " + FamilyName.ToString() + "\n" + "Phone Number: " + PhoneNumber.ToString() + "\n" + "Mail Address: " + MailAddress.ToString() + "\n" + "Bank Branch Details: " + BankBranchDetails.ToString() + "\n" + "Bank Account Number: " + BankAccountNumber.ToString() + "\n" + "Collection Clearance: " + CollectionClearance.ToString() + "\n" + "Host Key: " + HostKey.ToString() + "\n"); }
public override string ToString() { string str = "id: " + EmployeeId.ToString() + "\nLast Name: " + LastName.ToString() + " " + "\nFirst Name: " + FirstName.ToString(); str += "\nEmployee Born Date: " + EmployeeBornDate.ToString() + "\nPhoneNumber: " + PhoneNumber.ToString() + "\nEmployee Address :" + EmployeeAdrs.ToString(); str += "\nMilitary Graduate :" + MilitaryGraduate.ToString() + "\nAccount Employee: " + AccountEmployee.ToString() + "\nSpecialization of employee: " + SpecialEmployee.ToString(); return(str); }