Exemple #1
0
 /// <summary>
 /// Example ToString implementation, update/replace as desired
 /// </summary>
 /// <returns></returns>
 public override string ToString()
 {
     return(string.Format("{0}Quantity: {1:00}\tPer Unit: £ {2:#,0.00}{5}\tDiscount: {3:00} %\tSubTotal: £ {4:#,0.00}",
                          LineText.PadRight(20),
                          Quantity,
                          UnitPrice,
                          Discount,
                          SubTotal,
                          Taxable ? "T" : null));
 }