There has to be an easy answer:
var totalTime = TimeSpan.Zero; foreach (var timesheet in timeSheets) { //assume \"time\" is a correct, positive TimeSpan
TimeSpans are value types. Try:
totalTime = totalTime.Add(time)