net6.0-windows
namespace System
{
    public readonly struct DateTime : IAdditionOperators<DateTime, TimeSpan, DateTime>, IAdditiveIdentity<DateTime, TimeSpan>, IComparable, IComparable<DateTime>, IComparisonOperators<DateTime, DateTime>, IConvertible, IEqualityOperators<DateTime, DateTime>, IEquatable<DateTime>, IFormattable, IMinMaxValue<DateTime>, IParseable<DateTime>, ISpanFormattable, ISpanParseable<DateTime>, ISubtractionOperators<DateTime, DateTime, TimeSpan>, ISubtractionOperators<DateTime, TimeSpan, DateTime>, ISerializable
    {
        public DateTime AddHours(double value);
    }
}
NetFx Compat Lab
43.7 %
Reference this API
nuget.org
2.5 %
Reference this API
Upgrade Planner
4.4 %
Reference this API
.NET 5.06.07.08.09.0
.NET Core 1.01.12.02.12.23.03.1
.NET Framework 1.01.12.03.03.54.04.54.5.14.5.24.64.6.14.6.24.74.7.14.7.24.84.8.1
.NET Standard 1.01.11.21.31.41.51.62.02.1
Information specific to net6.0
Assemblies

System.Runtime , Version=6.0.0.0, PublicKeyToken=b03f5f7f11d50a3a

System.Runtime , Version=4.1.0.0, PublicKeyToken=b03f5f7f11d50a3a

Referencing

Requires any:

  • Your project needs a package reference to System.Runtime.

  • Your project needs a package reference to System.Runtime.Experimental.

Package System.Runtime.Experimental (6.0.2) net6.0
Platform Restrictions

This API is supported on all platforms.

  • Built-in API
  • Package-provided API

11/13/2024
An error has occurred. This application may no longer respond until reloaded. Reload 🗙