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

test-static-using-07.cs « tests « mcs - github.com/mono/mono.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: 5482903bf3a0dbce1424fb6a007082be9edb0457 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
using static System.String;
using static S;

struct S
{
	internal static int Foo ()
	{
		return 5;
	}
}

class Test
{
    public static int Main ()
    {
		string res = Concat ("a", "b", "c");
		if (res != "abc")
			return 1;

		if (Foo () != 5)
			return 2;

		return 0;
    }
}