I am using TimeSpan to calculate the time my program takes.
Here's the code
Code:
DateTime start = DateTime.Now; //**my code here DateTime end = DateTime.Now; span = end.Subtract(start); ResultUserForm.Controls["lblTimer"].Text = string.Concat(span.Milliseconds.ToString(), "ms");
but the time I get in accuracy of 15ms....
Leave a comment: