Driver Code
static public void Main ( ) { int [ ] array = { 1 , 2 , 3 , 4 } ; int k = 10 ; int size = array . Length ; int count = countsubarray ( array , size , k ) ; Console . WriteLine ( count ) ; } }