title: create a time based on seconds in c#
body: <p>If i have a seconds as a int like 70 80 or 2500 how do i show it as a time of format hh:mm:ss using the most easiest way. I know i can make a separate method for it and i did but i wanna check if there is any lib func already available for it. 
  THis is the method i created and it works.</p>
  
  <pre><code>private void MakeTime(int seconds)
      {
          int min = 0;
          int sec = seconds;
          int hrs = 0;
          if (seconds &gt; 59)
          {
              min = seconds / 60;
              sec = seconds % 60;
          }
          if (min &gt; 59)
          {
              hrs = min / 60;
              min = min % 60;
          }
          string a = string.Format("{0:00}:{1:00}:{2:00}", hrs, min, sec);
      }
  </code></pre>
  
  <p>This is the function i am using now. it works but still i have a feeling that a single line call will do this. Any one know of any?</p>