+5  A: 

The System.Diagnostics API contains a pretty subtle source of great confusion: System.Diagnostics 'ticks' are not the same as DateTime or TimeSpan 'ticks'!

If you use StopWatch.ElapsedTicks instead of StopWatch.Elapsed.Ticks, it should work.

The documentation contains more information about this.

Mark Seemann