I'm currently working with C#, and I'm using a library where you can public override void but this obviously overrides the entire method.
Is there a keyword for "appending to the method"? For example
class A { public virtual void HelloWorld() { Console.WriteLine("Do this first"); Console.ReadLine(); } } class B : A { public append void HelloWorld() // <-- Special "append" keyword? { Console.WriteLine("Then do this!"); Console.ReadLine(); } } So that the output of class B : A, HelloWorld() would be
Do this first Then do this!