Driver Code
public static void Main ( ) { int [ ] arr = { 3 , 5 , 7 , 6 , 4 , 9 , 12 , 4 , 8 } ; int n = arr . Length ; int num1 = 5 , num2 = 4 ; Console . WriteLine ( getCount ( arr , n , num1 , num2 ) ) ; } }