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 MPIPsychiatrist.cs /r:MyPlugIn.dll
5: using System;
6: public class MPIFreud : PlugInForm
7: {
8: public override void WhatIsPI()
9: {
10: Console.WriteLine("You desire your mother don't you?");
11: }
12: }
13:
14: public class MPIJung : PlugInForm
15: {
16: public override void WhatIsPI()
17: {
18: Console.WriteLine("Why do you think you asked that question?");
19: }
20: }
21: