Driver code
public static void Main ( ) { int n = 2 ; int [ ] x1 = { 1 , 2 } ; int [ ] y1 = { 1 , 2 } ; int [ ] x2 = { 2 , 4 } ; int [ ] y2 = { 2 , 10 } ; Console . Write ( maxLines ( n , x1 , y1 , x2 , y2 ) ) ; } }