25 lines
479 B
C#
25 lines
479 B
C#
using System;
|
|
using System.Collections.Generic;
|
|
using System.Linq;
|
|
using System.Text;
|
|
using System.Threading.Tasks;
|
|
|
|
namespace Simpsons
|
|
{
|
|
internal class Bart : Familie
|
|
{
|
|
public Bart()
|
|
{
|
|
this.vorname = " Bart";
|
|
}
|
|
public void skateboardGefahren()
|
|
{
|
|
this.zähler++;
|
|
}
|
|
public void ausgabe()
|
|
{
|
|
Console.WriteLine($"{this.zähler} Skateboard gefahren.");
|
|
}
|
|
}
|
|
}
|