add Programmyday form github
This commit is contained in:
24
Simpsons/Marge.cs
Normal file
24
Simpsons/Marge.cs
Normal file
@@ -0,0 +1,24 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
using System.Threading.Tasks;
|
||||
|
||||
namespace Simpsons
|
||||
{
|
||||
internal class Marge : Familie
|
||||
{
|
||||
public Marge()
|
||||
{
|
||||
this.vorname = " Marge";
|
||||
}
|
||||
public void frisörBesuch()
|
||||
{
|
||||
this.zähler++;
|
||||
}
|
||||
public void ausgabe()
|
||||
{
|
||||
Console.WriteLine($"{this.zähler} mal zum Frisör gegangen.");
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user