Nez.Portable/Utils/Extensions/RectangleExt.cs
/// <summary>
/// returns true if rect1 intersects rect2
/// </summary>
/// <param name="value1">Value1.</param>
/// <param name="value2">Value2.</param>
returns true if rect1 intersects rect2
returns true if rect1 intersects rect2
public static bool intersect(ref Rectangle rect1, ref Rectangle rect2)
        {
            bool result;
            rect1.Intersects(ref rect2, out result);
            return result;
        }
public static bool intersect ( ref Rectangle rect1 , ref Rectangle rect2 ) { bool result ; rect1 . Intersects ( ref rect2 , out result ) ; return result ; }
returns true if rect1 intersects rect2
returns true if rect1 intersects rect2
Rectangle
ref
value1
None
value2
None