a575963da9
Former-commit-id: da6be194a6b1221998fc28233f2503bd61dd9d14
29 lines
386 B
C#
29 lines
386 B
C#
namespace Test
|
|
{
|
|
public interface IInterface
|
|
{
|
|
string Get (string key, string v);
|
|
int Get (string key, int v);
|
|
}
|
|
|
|
public class BaseClass
|
|
{
|
|
public string Get (string key, string v)
|
|
{
|
|
return v;
|
|
}
|
|
|
|
public int Get (string key, int v)
|
|
{
|
|
return 0;
|
|
}
|
|
}
|
|
|
|
public class Subclass : BaseClass, IInterface
|
|
{
|
|
public static void Main ()
|
|
{
|
|
new Subclass ();
|
|
}
|
|
}
|
|
} |