equal
deleted
inserted
replaced
|
1 /** |
|
2 * Program.cs |
|
3 * |
|
4 * @author Markus Bröker<broeker.markus@googlemail.com> |
|
5 * @copyright Copyright(C) 2017 4Customers UG |
|
6 * |
|
7 */ |
|
8 using System; |
|
9 using System.Collections.Generic; |
|
10 using System.Linq; |
|
11 using System.Text; |
|
12 using System.Threading.Tasks; |
|
13 |
|
14 using static Sales.Payment; |
|
15 |
|
16 namespace Sales |
|
17 { |
|
18 class Program |
|
19 { |
|
20 static void Main(string[] args) |
|
21 { |
|
22 Console.OutputEncoding = Encoding.Default; |
|
23 |
|
24 Program p = new Program(); |
|
25 |
|
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 } |
|
31 } |
|
32 } |