Posts by Diego • 1 point
2 posts
-
0
votes3
answers47
viewsA: Datetime does not update on Console.Writeline
Now it’s updating.. private void button2_Click(object sender, EventArgs e) { DateTime dt = new DateTime(); dt = DateTime.Now; Console.WriteLine("[{0}]", dt.ToString("HH:mm:ss:fff")); }…
-
-2
votes3
answers47
viewsQ: Datetime does not update on Console.Writeline
When I click the button, something is written in the Console along with the date, but the time does not update. Code: private void button2_Click(object sender, EventArgs e) {…