'System.Windows.Rect' does not contain a definition for 'Intersects' for C#
问题 I am doing a collision on Windows Phone App for Windows Phone 8 using Microsoft Visual Studio 2012. I used Rect to make a rectangle border for the ball. I received this error. 'System.Windows.Rect' does not contain a definition for 'Intersects' and no extension method 'Intersects' accepting a first argument of type 'System.Windows.Rect' could be found (are you missing a using directive or an assembly reference?) The codes are as below. var greenBallPositionX1 = Canvas.GetLeft(this.greenBall1)