old mode 100644
new mode 100755
--- a/.hgignore
+++ b/.hgignore
@@ -137,3 +137,5 @@
*.bim_*.settings
FakesAssemblies/
*.favdoc
+
+*.userprefs
old mode 100644
new mode 100755
old mode 100644
new mode 100755
old mode 100644
new mode 100755
--- a/Sales/Invoice.cs
+++ b/Sales/Invoice.cs
@@ -39,7 +39,7 @@
return value;
}
- //Rabatt auf den Netto Preis
+ // Rabatt auf den Netto Preis
private double Rabatt()
{
if (value > 1000.0)
old mode 100644
new mode 100755
--- a/Sales/Payment.cs
+++ b/Sales/Payment.cs
@@ -15,6 +15,6 @@
{
class Payment
{
- public enum PaymentType { NOW, WEEK, MONTH };
+ public enum PaymentType { NOW, WEEK, MONTH, LATER };
}
}
old mode 100644
new mode 100755
--- a/Sales/Program.cs
+++ b/Sales/Program.cs
@@ -21,12 +21,8 @@
{
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();
+ Invoice invoice = new Sales.Invoice(599.99, PaymentType.LATER);
+ Console.WriteLine("Die Endsumme beträgt {0:C}", invoice.getFinalResult());
}
}
}
old mode 100644
new mode 100755
old mode 100644
new mode 100755