add Programmyday form github
This commit is contained in:
20
LohnabrechnungMusterlösung/Program.cs
Normal file
20
LohnabrechnungMusterlösung/Program.cs
Normal file
@@ -0,0 +1,20 @@
|
||||
using System.Runtime.CompilerServices;
|
||||
|
||||
namespace LohnabrechnungMusterlösung
|
||||
{
|
||||
internal class Program
|
||||
{
|
||||
static void Main(string[] args)
|
||||
{
|
||||
Mitarbeiter[] mitarbeiter = new Mitarbeiter[3];
|
||||
mitarbeiter[0] = new ExternerMitarbeiter("Harry", "Potter", 135);
|
||||
mitarbeiter[1] = new Praktikant("Newt", "Scamander", new Development());
|
||||
mitarbeiter[2] = new Angstellter("Lord", "Voldemort", 71, Tarigruppe.D);
|
||||
|
||||
foreach (var item in mitarbeiter)
|
||||
{
|
||||
item.DatenAusgabe();
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user