1: // This is one implementation of the abstract class PlugInForm as defined
2: // in MyPlugIn.dll .
3: // Compile with the command line:
4: // csc /t:library MPIPhilosopher.cs /r:MyPlugIn.dll
5: using System;
6: public class MPINihilist : PlugInForm
7: {
8: public override void WhatIsPI()
9: {
10: Console.WriteLine("Who cares?");
11: }
12: }
13:
14: public class MPISolipsist
15: {
16: public void WhatIsPI()
17: {
18: Console.WriteLine("PI is Mine.");
19: }
20: }
21: