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 MPIMathMajor.cs /r:MyPlugIn.dll
5: using System;
6: public class MPIMathMajor : PlugInForm
7: {
8: public override void WhatIsPI()
9: {
10: Console.WriteLine(Math.PI);
11: }
12: }
13: