Click or drag to resize
DateTimeEquals Method (DateTime)
Returns a value indicating whether the value of this instance is equal to the value of the specified DateTime instance.

Namespace: System
Assembly: mscorlib (in mscorlib.dll) Version: 4.0.0.0
Syntax
C#
public bool Equals(
	DateTime value
)

Parameters

value
Type: SystemDateTime
The object to compare to this instance.

Return Value

Type: Boolean
true if the value parameter equals the value of this instance; otherwise, false.
See Also