title: TimeSpan to Custom string like HH:mm:ss
body: <p>I would like to convert </p>
  
  <pre><code>var delta = TimeSpan.FromSeconds(10);
  </code></pre>
  
  <p>to string like <code>00:00:01</code></p>
  
  <p>I try this <code>delta.ToString(@"0:\\hh\\:mm\\:ss", System.Globalization.CultureInfo.InvariantCulture);</code></p>
  
  <p>But nothing is working fine. 
  Also I cannot find here <a href="https://msdn.microsoft.com/en-us/library/ee372287.aspx" rel="noreferrer">https://msdn.microsoft.com/en-us/library/ee372287.aspx</a> correct way to do it.</p>
  
  <p>Method <code>ToString()</code> does not help so i need in format lie <code>hh:mm:ss</code>.</p>
  
  <p><a href="https://i.stack.imgur.com/rxbqN.png" rel="noreferrer"><img src="https://i.stack.imgur.com/rxbqN.png" alt="enter image description here"></a>
  Any clue?</p>