25 lines
240 B
C#
Raw Normal View History

using System;
class A
{
class C : Exception { }
public class B
{
class C : Exception { }
public B () {
try {
throw new A.B.C ();
}
catch (C e) {
}
}
}
public static void Main()
{
object o = new A.B();
}
}