Driver Code
public static void Main ( String [ ] args ) { int [ , ] rectangle = { { 0 , 0 } , { 0 , 5 } , { 5 , 0 } , { 5 , 5 } } ; int [ , ] points = { { 1 , 2 } , { 3 , 4 } } ; int N = points . GetLength ( 0 ) ; Console . WriteLine ( cntRect ( points , N , rectangle ) ) ; } }