delegate string kappa(int i);
delegate string keepo(int i, string w);
public static void Main()
Console.WriteLine("Hello World");
kappa kk = delegate (int w)
for (int e = 0; e < w; e++)
Console.WriteLine(kk(2));
Console.WriteLine(ww(2, "asdasdasd\n"));
Typewriter tw = new Typewriter();
machine m1 = new Typewriter();
Console.WriteLine(m1.id + " is working fine !\n");
pr pp = new Typewriter("bladddd");
xchild cb = new xchild();
Console.WriteLine(xb.val);
public virtual void xdo()
Console.WriteLine("base\n");
public class xchild : xbase
public override void xdo()
Console.WriteLine("child");
public class xgchild : xchild
override public void xdo()
Console.WriteLine("grand child");
public abstract class machine
Console.WriteLine("Machine working\n");
public class Typewriter : machine, pr
public Typewriter(string st)
Console.WriteLine("this is :" + this.xx);
new public void dostuff()
Console.WriteLine("Typewriter working\n");