Driver code
public static void Main ( String [ ] args ) { char [ ] charSet = " qwertyuiopasdfghjklzxcvbnm " . ToCharArray ( ) ; String str = " egrt " ; str = conversion ( charSet , str ) ; Console . WriteLine ( str ) ; } }