public double Earning(double basic, double house, double Appraisal) { Earn = basic + house + 100 + 300 + 400 + 1800 + Appraisal; // Response.Write(Earn); LblEaring.Text = Earn.ToString(); return(Earn); }
/// <summary> /// Returns a <see cref="System.String"/> that represents the current <see cref="OverworldObjects.ResourceBuilding"/>. /// </summary> /// <returns>A <see cref="System.String"/> that represents the current <see cref="OverworldObjects.ResourceBuilding"/>.</returns> public override string ToString() { return(base.ToString() + "\n+ " + earnings.ToString() + "/day"); }