private void TestIntersect(IRectangle obj, IRectangle testObj) { Console.WriteLine("For the demonstration will be used a rectangle with\r\nstart on (0, 0), width = 5 and height = 5"); Console.WriteLine(); Console.Write("Do the rectangles intersect? - "); Console.WriteLine(obj.Intesect(testObj) ? "Yes" : "No"); }