Get Calling Class type in base clases static method.
- From: "parez" <psawant@xxxxxxxxx>
- Date: 22 Nov 2006 12:22:55 -0800
Hi All,
How do you think i can get this to work..
Der1.GetCallingClassType() should return Der1
public class Base
{
Base()
{}
public static string GetCallingClassType()
{
//how do i set the value for str
return str
}
}
public Der1:base
{
Der1(){}
}
public Der2:base
{
Der2(){}
}
.
- Follow-Ups:
- Re: Get Calling Class type in base clases static method.
- From: Jon Skeet [C# MVP]
- Re: Get Calling Class type in base clases static method.
- Prev by Date: Re: ConfigurationManager Seemingly Simple
- Next by Date: Re: ValueType reference in objects
- Previous by thread: Re: ValueType reference in objects
- Next by thread: Re: Get Calling Class type in base clases static method.
- Index(es):
Relevant Pages
|