C# TimeSpan Min value


Timespan shows the length of time.

To get the minimum value of TimeSpan, use the following property.

TimeSpan.MinValue

Example

 Live Demo

using System;
using System.Linq;
public class Demo {
   public static void Main() {
      Console.WriteLine(TimeSpan.MinValue);
   }
}

Output

-10675199.02:48:05.4775808

Samual Sam
Samual Sam

Learning faster. Every day.

Updated on: 23-Jun-2020

294 Views

Kickstart Your Career

Get certified by completing the course

Get Started
Advertisements