C# DateTimeOffset MaxValue
Description
DateTimeOffset MaxValue
represents the greatest possible
value of DateTimeOffset. This field is read-only.
Syntax
DateTimeOffset.MaxValue
has the following syntax.
public static readonly DateTimeOffset MaxValue
Example
using System;/*from w w w . j a va 2s . com*/
public class MainClass{
public static void Main(String[] argv){
System.Console.WriteLine(DateTimeOffset.MaxValue);
}
}
The code above generates the following result.