Operator operator ==
operator ==(Category, Category)
== Overload. If id and displayName match then the Category instances are deemed equal.
Declaration
public static bool operator ==(Category x, Category y)
Parameters
Type | Name | Description |
---|---|---|
Category | x | A Category instance to compare. |
Category | y | The Category instance to compare to. |
Returns
Type | Description |
---|---|
bool |
|
Remarks
Two null
objects are considered equal.