Explorar o código

update show ms

shenjian %!s(int64=7) %!d(string=hai) anos
pai
achega
ec664edf4f
Modificáronse 1 ficheiros con 2 adicións e 2 borrados
  1. 2 2
      PingList/Program.cs

+ 2 - 2
PingList/Program.cs

@@ -41,8 +41,8 @@ namespace PingList
                 }
                 else
                 {
-                    Console.WriteLine(item + "......OK");
-                    sb.AppendLine(item + "\tOK");
+                    Console.WriteLine(item + "......" + r.ToString() + "ms");
+                    sb.AppendLine(item + "\t" + r.ToString()+"ms");
                 }
 
             }