Microsoft.Xna.Framework.Vector2.Equals C# (CSharp) Method

Equals() public method

Determines whether the specified Object is equal to the Vector2.
public Equals ( Vector2 other ) : bool
other Vector2 The Object to compare with the current Vector2.
return bool
        public bool Equals(Vector2 other)
        {
            return this.X == other.X && this.Y == other.Y;
        }
        /// <summary>Returns a value that indicates whether the current instance is equal to a specified object.</summary>

Same methods

Vector2::Equals ( object obj ) : bool