namespace System
    public readonly struct TimeSpan : IComparable, IComparable<TimeSpan>, IEquatable<TimeSpan>, IFormattable, IParsable<TimeSpan>, ISpanFormattable, ISpanParsable<TimeSpan>, IUtf8SpanFormattable
NetFx Compat Lab
83.3 %
Reference this API
25.3 %
Reference this API
7.2 %
Read field
0.0 %
Write field
Upgrade Planner
31.6 %
Reference this API
Design Reviews
.NET Core
.NET Framework
.NET Standard
Information specific to net9.0

System.Runtime , Version=, PublicKeyToken=b03f5f7f11d50a3a


The API is automatically referenced.

Platform Restrictions

This API is supported on all platforms.

  • Built-in API
  • Package-provided API

An error has occurred. This application may no longer respond until reloaded. Reload 🗙