using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using Aliasname = Boxnamespace.Bunch; namespace aliaoperator { class Program { static void Main(string[] args) { Boxnamespace.control.controlclass.Controlmethod(); global::System.Console.Read(); } } } namespace System { class Console { } } namespace Boxnamespace { namespace Aliasname { class myclass { public static void Writesomething() { } } } namespace Bunch { class myclass { public static void Writesomethingelse() { global:: System.Console.WriteLine("Hello2"); } } } namespace control { class controlclass { public static void Controlmethod() { Aliasname.myclass.Writesomething(); Aliasname::myclass.Writesomethingelse(); global::System.Console.WriteLine(); } } } }
global
System.Console
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)