2010-06-17 Geoff Norton <gnorton@novell.com>
[mono.git] / mono / tests / iface.cs
blob5596a3bbddefce4b1f3c52fd34134b450d8800c5
1 public interface IHelloWorldWriter
3 int WriteIt();
6 public class RealWriter : IHelloWorldWriter
8 public int WriteIt()
10 return 33;
14 public class ProjectName {
15 static int Main()
17 IHelloWorldWriter writer = new RealWriter();
18 if (writer.WriteIt() != 33)
19 return 1;
20 return 0;