4 public static int Main() {
5 Console
.WriteLine("test");
6 TestClass tst
= new TestClass();
8 TestInterface ti
= (TestInterface
)tst
;
13 public interface TestInterface
{
14 string test(string name
);
17 public class TestClass
: TestInterface
{
18 public string test(string name
) {
19 Console
.WriteLine("test2");
20 return name
+ " testar";