Help Me......
-
Hello.... I am having following problem... I want to know in run time which method of which class is running ie. class MyClass { public string GetName() { string className = ?; string methodName = ?; return className + methodName; } } ....... Help quick.....
-
Hello.... I am having following problem... I want to know in run time which method of which class is running ie. class MyClass { public string GetName() { string className = ?; string methodName = ?; return className + methodName; } } ....... Help quick.....
For a single threaded application: class MyClass { public string GetName() { string className = "MyClass"; string methodName = "GetName"; return className + methodName; } } :P As a note "Help Me" isn't a good post subject ... everyone is asking for help and it wouldn't be very useful to have all subjects as "Help" would it. A much better idea would be to give a descriptive title, like "Determine currently running class and method".
-
Hello.... I am having following problem... I want to know in run time which method of which class is running ie. class MyClass { public string GetName() { string className = ?; string methodName = ?; return className + methodName; } } ....... Help quick.....