Creating an alias
using System; using MyAlias=MyNamespace.Nested.MyClass; namespace MyNamespace { namespace Nested { namespace MyClass { public class Foo { int _Value; public Foo() { _Value = 0; } public int getValue() { return _Value; } } } } } class Test { public static void Main() { MyAlias.Foo myFoo = new MyAlias.Foo(); Console.WriteLine("Value {0}", myFoo.getValue()); } }