Extract from Timespan Totalhours and Minutes
<p>I get from <code>TimeSpan.TotalHours</code> 24,75 hours. 
How can I convert this to get the full and not roundes hours (=24) plus the minutes (0,75hours = 45 minutes)? So the result should be hours = 24 and minutes = 45</p>

<p>I tried to convert it to string and make substring but I would like to know if there is a better way than this.</p>

<pre><code>string test = Reststunden.TotalHours.ToString().Substring(Reststunden.TotalHours.ToString().IndexOf(","),3).Replace(",", "");
double Minuten = Convert.ToInt16(test) * 0.6;
</code></pre>