Use the Duration() method to add two TimeSpan instances

   
 

using System;

class MainClass {

    public static void Main() {


        TimeSpan myTimeSpan13 = new TimeSpan(1, 10, 13);
        TimeSpan myTimeSpan14 = new TimeSpan(2, 6, 10);
        TimeSpan myTimeSpan15 = myTimeSpan13.Add(myTimeSpan14);
        Console.WriteLine("myTimeSpan13 = " + myTimeSpan13);
        Console.WriteLine("myTimeSpan14 = " + myTimeSpan14);
        Console.WriteLine("myTimeSpan15 = " + myTimeSpan15);


        Console.WriteLine("myTimeSpan15.Duration() = " + myTimeSpan15.Duration());

    }
}