Getting the name of namespace, Class and method from within a C# program

Getting the name of namespace, Class and method from within a C# program

Post by Peter Som » Sun, 10 Aug 2003 12:08:44


Hi,

How could I access the name of the Namespace, Class and Method from
within a C# program? Is there something similar to the 'caller' function
in Perl?

Thanks,

/Peter Somu XXXX@XXXXX.COM
 
 
 

Getting the name of namespace, Class and method from within a C# program

Post by Ravikanth[ » Sun, 10 Aug 2003 12:52:27

Hi

Look into System.Reflection Namespace.

Ravikanth


and Method from
the 'caller' function