title: Working out an average on time
body: <p>I'm trying to find out the best way to do an average on time (basically call times I want to find out the average)</p>
  
  <p>The data is coming from a datatable that i'm looping through. I can't quite work out how to use a TimeSpan though, what can I convert the string from / to to pass it through like I have below?</p>
  
  <pre><code>TimeSpan total = default(TimeSpan);
  
  foreach (DataRow row in dtChats.Rows)
  {
      total += row["TotalTime"].ToString();
  }
  
  TimeSpan myAverage = total / dtChats.Rows.Count;
  </code></pre>
  
  <p>Edit:</p>
  
  <p>Sorry, row['TotalTime'] is a time value such as 0:05:44 representing 5mins 44 seconds</p>