equal
deleted
inserted
replaced
19 { |
19 { |
20 static void Main(string[] args) |
20 static void Main(string[] args) |
21 { |
21 { |
22 Console.OutputEncoding = Encoding.Default; |
22 Console.OutputEncoding = Encoding.Default; |
23 |
23 |
24 Program p = new Program(); |
24 Invoice invoice = new Sales.Invoice(599.99, PaymentType.LATER); |
25 |
25 Console.WriteLine("Die Endsumme beträgt {0:C}", invoice.getFinalResult()); |
26 Invoice invoice = new Sales.Invoice(599.99, PaymentType.NOW); |
|
27 Console.WriteLine("Die Endsumme beträgt {0:C}", invoice.getFinalResult()); |
|
28 |
|
29 Console.ReadKey(); |
|
30 } |
26 } |
31 } |
27 } |
32 } |
28 } |