a575963da9
Former-commit-id: da6be194a6b1221998fc28233f2503bd61dd9d14
30 lines
352 B
C#
30 lines
352 B
C#
public class CollectionValueBase<T>
|
|
{
|
|
public virtual T[] ToArray()
|
|
{
|
|
return null;
|
|
}
|
|
}
|
|
|
|
public class CollectionBase<T>: CollectionValueBase<T>
|
|
{
|
|
}
|
|
|
|
public class SequencedBase<T>: CollectionBase<T>
|
|
{
|
|
}
|
|
|
|
public class ArrayBase<T>: SequencedBase<T>
|
|
{
|
|
public override T[] ToArray()
|
|
{
|
|
return null;
|
|
}
|
|
}
|
|
|
|
class X
|
|
{
|
|
public static void Main ()
|
|
{ }
|
|
}
|