Driver code
public static void Main ( string [ ] args ) { string str = " GeeksForGeeks ▁ is ▁ a ▁ computer " + " ▁ science ▁ portal ▁ for ▁ geeks " ; string suff = " ks " ; Console . Write ( endingWith ( str , suff ) ) ; } }