Hi,<div><br></div><div>I'm trying to get the name of the surrounding class from within a static method of the class:</div><div><br>
</div><blockquote class="webkit-indent-blockquote" style="margin: 0 0 0 40px; border: none; padding: 0px;"><div><div><div><font class="Apple-style-span" face="'courier new', monospace"><div>import std.stdio;</div>
<div><br></div><div>void main(string[] args)</div><div>  {</div><div>    auto o = new SomeClass();</div><div>    o.Run();</div><div>    SomeClass.StaticRun();</div><div>  }</div><div><br></div><div>class SomeClass</div><div>
  {</div><div>  public void Run()</div><div>    {</div><div>      writeln("In Class non-static: ", typeid(typeof(this)));</div><div>    }</div><div>  public static void StaticRun()</div><div>    {</div><div>      writeln("In Class static: ", typeid(typeof(??)));</div>
<div>    }</div><div>  }</div><div><br></div></font></div></div></div></blockquote><div><div><br></div></div><div>What do I use for "??" above. </div><div><br></div><div>John</div>