Method CompareTo
CompareTo(DateOnly)
Declaration
public readonly int CompareTo(DateOnly other)
Parameters
Returns
Type |
Description |
System.Int32 |
|
Implements
System.IComparable<T>.CompareTo(T)
Applies to
Platforms and versions
Target | Versions |
.NET Framework | 200.4 - 200.6 |
UWP | 200.4 - 200.6 |
CompareTo(Object)
Declaration
public readonly int CompareTo(object value)
Parameters
Type |
Name |
Description |
System.Object |
value |
|
Returns
Type |
Description |
System.Int32 |
|
Implements
System.IComparable.CompareTo(System.Object)
Applies to
Platforms and versions
Target | Versions |
.NET Framework | 200.4 - 200.6 |
UWP | 200.4 - 200.6 |