The minus is overloaded, use the TimeSpan:
double differenceInMilliseconds = (b - a).TotalMilliseconds;
solved DateTime difference [closed]
The minus is overloaded, use the TimeSpan:
double differenceInMilliseconds = (b - a).TotalMilliseconds;
solved DateTime difference [closed]