a575963da9
Former-commit-id: da6be194a6b1221998fc28233f2503bd61dd9d14
35 lines
428 B
C#
35 lines
428 B
C#
interface ICollectionValue
|
|
{
|
|
int Count { get; }
|
|
}
|
|
|
|
interface ISCGCollection
|
|
{
|
|
int Count { get; }
|
|
}
|
|
|
|
interface ICollection : ISCGCollection, ICollectionValue
|
|
{
|
|
new int Count { get; }
|
|
}
|
|
|
|
interface ISequenced : ICollection
|
|
{
|
|
}
|
|
|
|
class Test : ISequenced
|
|
{
|
|
public int Count { get { return 0; } }
|
|
}
|
|
|
|
static class Maine
|
|
{
|
|
public static int Main ()
|
|
{
|
|
ISequenced t = new Test ();
|
|
if (t.Count != 0)
|
|
return 1;
|
|
return 0;
|
|
}
|
|
}
|