TimeSpan
TimeSpan ts1 = TimeSpan.FromHours(8); TimeSpan ts2 = TimeSpan.FromHours(10.5); TimeSpan total = ts1 + ts2; MessageBox.Show(total.TotalHours.ToString());
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)