using System;
namespace LearnCS
{
abstract class Prim
{
public abstract void PrimPrinter();
}
class Sec : Prim
{
public override void PrimPrinter()
{
Console.WriteLine("Now I can be used");
}
}
class Program
{
static void Main(string[] args)
{
Sec p1 = new Sec();
p1.PrimPrinter();
Console.ReadLine();
}
}
}
Saturday, April 26, 2025
C# OO - Abstract Classes & Methods
Subscribe to:
Post Comments (Atom)
Tkinter Introduction - Top Widget, Method, Button
First, let's make shure that our tkinter module is working ok with simple for loop that will spawn 5 instances of blank Tk window . ...

No comments:
Post a Comment