我唯一能找到的(System.Diagnostics.Debug.WriteLine()):
//
// Summary:
// Writes a message followed by a line terminator to the trace listeners in
// the System.Diagnostics.Debug.Listeners collection.
//
// Parameters:
// message:
// A message to write.
[Conditional("DEBUG")]
public static void WriteLine(string message);
Run Code Online (Sandbox Code Playgroud)
它写入Visual Studio输出窗口的调试输出.