40 lines
422 B
C#
Raw Normal View History

using System;
using TestNamespace;
namespace TestNamespace
{
public class TestClass
{
public static void HelloWorld ()
{
}
}
}
class SuperClass
{
TestClass tc = null;
public TestClass TestClass
{
private get { return tc; }
set {}
}
}
class SubClass : SuperClass
{
public SubClass ()
{
TestClass.HelloWorld ();
}
}
class App
{
public static void Main ()
{
SubClass sc = new SubClass ();
}
}