SqlDecimal.Equals Method (SqlDecimal, SqlDecimal)


Performs a logical comparison of the two SqlDecimal operands to determine whether they are equal.

Namespace:   System.Data.SqlTypes
Assembly:  System.Data (in System.Data.dll)

public static SqlBoolean Equals(
	SqlDecimal x,
	SqlDecimal y

Return Value

Type: System.Data.SqlTypes.SqlBoolean

true if the two values are equal. Otherwise, false. If either instance is null, the value of the SqlDecimal will be null.

.NET Framework
Available since 1.1
Return to top