Kod: Zaznacz cały
class sth
{
public virtual void Show()
{
Console.WriteLine("funkcja show sth");
}
}
class ble : sth
{
public new virtual void Show()
{
Console.WriteLine("funkcja show ble");
}
}
class ble2 : ble
{
public override void sth.Show()
{
Console.WriteLine("funkcja show ble2");
}
}