Driver Code
public static void Main ( ) { string str1 = " geeksforgeeks " , str2 = " geeks " ; Console . Write ( countSubstrig ( str1 , str2 ) ) ; Console . Write ( " STRNEWLINE " ) ; str1 = " hikakashi " ; str2 = " hi " ; Console . Write ( countSubstrig ( str1 , str2 ) ) ; } }