Sales/Program.cs
changeset 1 80c685d55d63
parent 0 cfa10fbf52b3
child 2 0907765a8b2e
equal deleted inserted replaced
0:cfa10fbf52b3 1:80c685d55d63
    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 }