Driver code
public static void Main ( ) { string [ ] str = { " geeksforgeeks " , " algorithms " , " stack " } ; string s = " algorithms " ; int n = str . Length ; Console . WriteLine ( strScore ( str , s , n ) ) ; } }