Driver Code ;
public static void Main ( String [ ] args ) { String s = " abcd " ; char [ ] special = { ' b ' , ' c ' } ; double ans = countRatio ( s . ToCharArray ( ) , special ) ; Console . WriteLine ( " { 0 : F6 } " , ans ) ; } }