a575963da9
Former-commit-id: da6be194a6b1221998fc28233f2503bd61dd9d14
40 lines
422 B
C#
40 lines
422 B
C#
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 ();
|
|
}
|
|
}
|