3 public abstract class A
5 public abstract event EventHandler Finished
;
12 public void test (A a
)
17 public void TestA (object sender
, EventArgs e
)
19 Console
.WriteLine ("A test method.");
26 public override event EventHandler Finished
;
30 Finished
+= this.TestB
;
32 Finished (this, EventArgs
.Empty
);
35 public void TestB (object sender
, EventArgs e
)
37 Console
.WriteLine ("B test method.");
41 public static int Main ()
43 return new B ().count
- 10;