Driver code
public static void Main ( ) { int R = 1 ; int Xc = 0 , Yc = 0 ; int X1 = 1 , Y1 = - 1 ; int X2 = 3 , Y2 = 1 ; if ( checkOverlap ( R , Xc , Yc , X1 , Y1 , X2 , Y2 ) ) { Console . Write ( " True " + " STRNEWLINE " ) ; } else { Console . Write ( " False " ) ; } } }