[mono-api-html] Add solution.
[mono.git] / mcs / tests / test-13.cs
1 using System;
2
3 class Foo {
4
5         public bool MyMethod ()
6         {
7                 Console.WriteLine ("Base class method !");
8                 return true;
9         }
10 }
11
12 class Blah : Foo {
13
14         public static int Main ()
15         {
16                 Blah k = new Blah ();
17
18                 Foo i = k;
19
20                 if (i.MyMethod ())
21                         return 0;
22                 else
23                         return 1;
24                                
25
26         }
27         
28 }
29
30
31