title: Include If Else statement in String.Format
body: <p>I have the following statemnt.</p>
  
  <pre><code>  timespan = timespan.FromSeconds(236541)
    formattedTimeSpan = String.Format("{0} hr {1} mm {2} sec", Math.Truncate(timespan.TotalHours), timespan.Minutes, timespan.Seconds)
  </code></pre>
  
  <p>I have to have it formatted as "hrs mn sec" if there are more than one hour. I want to check this within the String.Format above.</p>
  
  <p>Thanks.</p>