B
Brett
I'd like to get the name of a class I reference via an interface.
public Class1(Imyinterface _Classnamestoredhere)
{
string ClassName = _Classnamestoredhere.GetType().FullName.ToString();
This is given in the watches window:
_Classnamestoredhere.GetType().Name.ToString() error:
'_Classnamestoredhere.GetType' does not exist
Intellisense gives a GetType().
ClassName is out of scope because it is never assigned. How to I get the
class name of the value in Classnamestoredhere?
Thanks,
Brett
public Class1(Imyinterface _Classnamestoredhere)
{
string ClassName = _Classnamestoredhere.GetType().FullName.ToString();
This is given in the watches window:
_Classnamestoredhere.GetType().Name.ToString() error:
'_Classnamestoredhere.GetType' does not exist
Intellisense gives a GetType().
ClassName is out of scope because it is never assigned. How to I get the
class name of the value in Classnamestoredhere?
Thanks,
Brett