C# TimeSpan Min value

CsharpProgrammingServer Side Programming

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
raja
Published on 12-Sep-2018 12:17:48
Advertisements