// Collection of code snippets by Arne Vajhøj // (likely posted to comp.os.vms/INFO-VAX, INFO-TPU, MACRO32, eksperten.dk, newz.dk, LinkedIn or other place sometime between 1990 and now) using System; namespace A { public class C { public override string ToString() { return "I am a A.C"; } } } namespace B { public class C { public override string ToString() { return "I am a B.C"; } } } namespace Apr1 { using AC = A.C; using BC = B.C; public class Program { public static void Main(string[] args) { Console.WriteLine(new AC()); Console.WriteLine(new BC()); } } }