Sales/Program.cs
author Markus Bröker<mbroeker@4customers.de>
Wed, 29 Mar 2017 06:02:36 +0200
changeset 0 cfa10fbf52b3
child 1 80c685d55d63
permissions -rw-r--r--
Initialer Commit

/**
 * Program.cs
 * 
 * @author       Markus Bröker<broeker.markus@googlemail.com>
 * @copyright    Copyright(C) 2017 4Customers UG
 * 
 */
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

using static Sales.Payment;

namespace Sales
{
    class Program
    {
        static void Main(string[] args)
        {
            Console.OutputEncoding = Encoding.Default;

            Program p = new Program();

            Invoice invoice = new Sales.Invoice(599.99, PaymentType.NOW);
            Console.WriteLine("Die Endsumme beträgt {0:C}", invoice.getFinalResult());

            Console.ReadKey();
        }
    }
}