Why isn't my TimeSpan.Add() working?

后端 未结 3 1408
后悔当初
后悔当初 2020-12-10 00:50

There has to be an easy answer:

var totalTime = TimeSpan.Zero;

foreach (var timesheet in timeSheets)
{
   //assume \"time\" is a correct, positive TimeSpan
         


        
3条回答
提交回复
热议问题