Driver Function to test other function
public static void Main ( ) { string [ ] input = { " geeksforgeeks " , " geeks " , " geek " , " geezer " } ; Console . WriteLine ( " The ▁ longest ▁ Common " + " ▁ Prefix ▁ is ▁ : ▁ " + longestCommonPrefix ( input ) ) ; } }