//does not include order date because that is indicated by file name public string OrderToLineInFile() { string result = string.Format("{0},{1},{2},{3},{4},{5},{6},{7},{8},{9},{10},{11}", OrderNumber, CustomerName, State.ToString(), TaxRate.ToString(), ProductType.ToString(), Area.ToString(), CostPerSquareFoot.ToString(), LaborCostPerSquareFoot.ToString(), MaterialCost.ToString(), LaborCost.ToString(), Tax.ToString(), Total.ToString()); return(result); }
public override string ToString() { return(MaterialCost.ToString()); }