Type Summary

						public struct TimeSpan : IComparable
{
  // Constructors
     public TimeSpan (int hours, int minutes,
                      int seconds);
     public TimeSpan (int days, int hours, int minutes,
                      int seconds);
     public TimeSpan (int days, int hours, int minutes,
                      int seconds, int milliseconds);
     public TimeSpan (long ticks);

  // Fields
     public static readonly TimeSpan MaxValue = new TimeSpan (Int64.MaxValue);
     public static readonly TimeSpan MinValue = new TimeSpan (Int64.MinValue);
     public const long TicksPerDay = TicksPerHour * 24;
     public const long TicksPerHour = TicksPerMinute * 60;
     public const long TicksPerMillisecond = 10000;
     public const long TicksPerMinute = TicksPerSecond * 60;
     public const long TicksPerSecond = TicksPerMillisecond * 1000;
     public static readonly ...

Get .NET Framework Standard Library Annotated Reference, Volume 1: Base Class Library and Extended Numerics Library now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.