Equivalent of console.log in C#

Trace.WriteLine will do (and probably more methods from the Trace class).

You can use a program called DebugView to real-time monitor the trace generated, or write to a log file using you web.config file.

Leave a Comment