Operator Equality
Equality(Durability, Durability)
Determines whether two instances of Durability are
equal.
Declaration
public static bool operator ==(Durability d1, Durability d2)
Parameters
| Type | Name | Description |
|---|---|---|
| Durability | d1 | First value to compare. |
| Durability | d2 | Second value to compare. |
Returns
| Type | Description |
|---|---|
| Boolean |
true if the values are equal, otherwise false.
|