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

test-55.cs « tests « mcs - github.com/mono/mono.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: 6058ee2a1ba2c1f6b1106cf011e7aa929dc2a771 (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
26
27
28
29
30
31
32
33
using c = System.Console;
using s = System;

namespace A {
	namespace B {
		class C {
			public static void Hola () {
				c.WriteLine ("Hola!");
			}
		}
	}
}

namespace X {
	namespace Y {
		namespace Z {
			class W {
				public static void Ahoj () {
					s.Console.WriteLine ("Ahoj!");
				}
			}
		}
	}
}

class App {
	public static int Main () {
		A.B.C.Hola ();
		X.Y.Z.W.Ahoj ();

		return 0;
	}
}