How can I convert string to time object for calculation
<p>how do I format output in seconds:milliseconds format?</p>

<pre><code>TimeSpan start = TimeSpan.Parse(pair.Value[3]);
TimeSpan end = TimeSpan.Parse(pair.Value[4]);
Console.WriteLine(TimeSpan.Compare( start,end));
</code></pre>

<p>The code here is printing the difference in seconds. how can i fix it using string.format as i dont know the convention for milliseconds?</p>
