You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

32 lines
690 B
C#

using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Übungen_Anwendungsentwicklung
{
class AusgabeStern : Ausgabe
{
public override void info()
{
base.info();
Console.WriteLine("Ich bin ein Objekt der Klasse AusgabeStern");
}
public override void zeichnen()
{
Console.WriteLine("*");
}
public void zeichnen(int n)
{
for (int i = 0; i < n; i++)
{
Console.Write("*");
}
Console.WriteLine();
}
}
}