exact duplicate:
How can I add a Trace() to every method call in C#?
Hi, I like to do tracing in my c# code. I don't like to add statements in each method to do it. Is there any way to use a method to do trace when rest of the methods in the application getting invoked at runtime.
Thanks, P.Gopalakrishnan.