Output Info Functions in C#

There are 3:

1. Console.WriteLine-- it's for console application only.

To see in output window:

2. Debug.WriteLine

3. Trace.WriteLine (You just have to make sure the the TRACE compiler constant is defined.)

原文地址:https://www.cnblogs.com/taoxu0903/p/1712627.html