What is the simplest way to do a trace or log in C# windows form application?
Doesn't have to save to file, can be showing at runtime. What would be the simplest thing to implement?
thanks
System.Diagnostics.Trace.WriteLine("Something")
or System.Diagnostics.Debug.WriteLine("Something")
You may checkout the Trace class.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With