System
Interface IEquatable<T>

Type Parameters:
T -
All Known Implementing Classes:
BoundingBox, BoundingSphere, Matrix, Plane, Point, Quaternion, Ray, Rectangle, TimeSpan, TouchLocation, Vector3, Vector4

public interface IEquatable<T>

Defines a generalized method that a value type or class implements to create a type-specific method for determining equality of instances.

Author:
Halofreak1990

Method Summary
 boolean Equals(T other)
          Indicates whether the current object is equal to another object of the same type.
 

Method Detail

Equals

boolean Equals(T other)
Indicates whether the current object is equal to another object of the same type.

Parameters:
other - An object to compare with this object.
Returns:
true if the current object is equal to the other parameter; otherwise, false.