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

ToString() public method

Retrieves a string representation of the current object.
public ToString ( ) : string
return string
        public override string ToString()
        {
            CultureInfo currentCulture = CultureInfo.CurrentCulture;
            return string.Format(currentCulture, "{{X:{0} Y:{1}}}", new object[]
			{
				this.X.ToString(currentCulture),
				this.Y.ToString(currentCulture)
			});
        }
        /// <summary>Determines whether the specified Object is equal to the Vector2.</summary>