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

cs1540-3.cs « errors « mcs - github.com/mono/mono.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: 158a8b229022e71ac0cf2bbadc74a3a088b55121 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
class A
{
        protected int n;
}
 
class B : A
{
}
 
class C : A
{
        static B b = new B ();
 
        static void Main ()
        {
                b.n = 1;
        }
}