Click or drag to resize
ObjectXEqualsT Method
Determines if the specified other object is equal to the referenced value type.

Namespace: Candlelight
Assembly: Assembly-CSharp-firstpass (in Assembly-CSharp-firstpass.dll) Version: 0.0.0.0
Syntax
C#
public static bool Equals<T>(
	ref T thisObj,
	Object otherObj
)
where T : struct, new()

Parameters

thisObj
Type: T
The referenced struct object.
otherObj
Type: SystemObject
Other object.

Type Parameters

T
The type of the struct.

Return Value

Type: Boolean
if the two objects are equal; otherwise, .
Remarks
Use this method to implement Equals(T) for custom structs.
See Also