a575963da9
Former-commit-id: da6be194a6b1221998fc28233f2503bd61dd9d14
29 lines
280 B
C#
29 lines
280 B
C#
using System;
|
|
using System.Collections;
|
|
|
|
public interface IFoo {
|
|
|
|
}
|
|
|
|
public class Blah : IFoo {
|
|
|
|
Hashtable table;
|
|
|
|
public Blah ()
|
|
{
|
|
table = new Hashtable ();
|
|
}
|
|
|
|
public static int Main ()
|
|
{
|
|
Blah b = new Blah ();
|
|
|
|
b.table.Add ("Ravi", (IFoo) b);
|
|
|
|
return 0;
|
|
}
|
|
|
|
|
|
|
|
}
|