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

cs0176-2.cs « errors « mcs - github.com/mono/mono.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: 8709ee84d347f6b9489984eab0a0e9c851399a0b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
// cs0176-2.cs: Static member `MyClass.Start(string)' cannot be accessed with an instance reference, qualify it with a type name instead
// Line: 10
using System;

class TestIt 
{
        public static void Main() 
        {
                MyClass p = new MyClass();
                p.Start ("hi");
        }
}

class MyClass
{
        public static void Start (string info) 
        {
        }
}