DateRangeGetHashCode Method

Serves as a hash function for a particular type, suitable for use in hashing algorithms and data structures like a hash table.

Definition

Namespace: InnerDrive.Core
Assembly: InnerDrive.Core (in InnerDrive.Core.dll) Version: 5.3.9728.0
C#
public override int GetHashCode()

Return Value

Int32
A hash code for this DateRange.

Remarks

Combines Lower and Upper only, matching the fields considered by Equals(DateRange)IsLowerInclusive and IsUpperInclusive are deliberately excluded since Equals(DateRange) ignores them too.

See Also