Windows apps
Collapse the table of content
Expand the table of content
Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

DateTime.Equals Method

Returns a value indicating whether two DateTime objects, or a DateTime instance and another object or DateTime are equal.

Name Description
DateTime.Equals (DateTime) Returns a value indicating whether this instance is equal to the specified DateTime instance.

Supported by the .NET Compact Framework.

DateTime.Equals (Object) Returns a value indicating whether this instance is equal to a specified object.

Supported by the .NET Compact Framework.

DateTime.Equals (DateTime, DateTime) Returns a value indicating whether two instances of DateTime are equal.

Supported by the .NET Compact Framework.

DateTime.Equals (Object, Object) Determines whether the specified Object instances are considered equal.

Community Additions

Show:
© 2016 Microsoft