I have two classes, Class A and Class B. These both classes are lying in two different namespaces.
I call a static method of Class B from Class A, then how can I get complete information of Class A and its namespace in called static method of Class B?
I do not want to add any code in class A
But can add anything into class B.
You should use the
GetType()method on yourAobject.