在服务器端写Console.Write

   1:  /// <summary>
   2:  /// 在服务器端写Console.Write,在VS的输出框是打印不出来的,用下面的方式可以打印的出来。
   3:  /// </summary>
   4:  /// <param name="message">要输出的信息</param>
   5:  private void PrintLogInformation(string message)
   6:  {
   7:        System.Diagnostics.Debug.WriteLine(string.Format("{0}.{1}:\t{2}", DateTime.Now, DateTime.Now.Millisecond, message));
   8:  }
原文地址:https://www.cnblogs.com/pnljs/p/2984561.html