Microsoft.Xna.Framework.Input.GamePadThumbSticks.Equals C# (CSharp) Method

Equals() public method

Returns a value indicating whether this instance is equal to a specified object.
public Equals ( object obj ) : bool
obj object An object to compare to this instance.
return bool
        public override bool Equals(object obj)
        {
            return (obj is GamePadThumbSticks) && (this == (GamePadThumbSticks)obj);
        }