Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gtest-296.cs « tests « mcs - github.com/mono/mono.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: 8e19cccf355168f3961f3bcc2a5188128b957f30 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
using System.Collections.Generic;
using System.Collections.ObjectModel;

public class MyCollection<T> : Collection<T>
{
    public void Foo()
    {
        T t = Items[0];
    }
}

public class C
{
    public static void Main () {}
}