I want to check the amount of time it takes for a specific function to be performed ,so that I will add accurate time delay on my program... I tried to write this before and after my function:
public static String (this DateTime value)
{
return value.ToString("mmssffff");
}
Then I calculated the difference between both results, and I get 350.I do not know if it microseconds or milliseconds...
Do you know the meaning of the result?(350) Do you have another idea to do this? Thanks!