Пример #1
0
        public override string ClientInfo()
        {
            StringBuilder s1 = new StringBuilder();

            s1.AppendLine("\n\n   CLIENT INFO ");
            s1.Append("\n   Name: " + Name);
            s1.Append("\n   Year incoming: $" + YearIncomings.ToString("F2"));
            s1.Append("\n   Health speendings: $" + HealthSpendings.ToString("F2"));
            s1.Append("\n   Taxe applied: " + this.Taxes().ToString("F2"));
            return(s1.ToString());
        }
Пример #2
0
        public override string ClientInfo()
        {
            StringBuilder s1 = new StringBuilder();

            s1.AppendLine("\n\n   CLIENT INFO ");
            s1.Append("\n   Name: " + Name);
            s1.Append("\n   Year incoming: $" + YearIncomings.ToString("F2"));
            s1.Append("\n   Employees number: " + EmployeesNumber);
            s1.Append("\n   Taxe applied: $" + this.Taxes().ToString("F2"));
            return(s1.ToString());
        }