Driver Code
public static void Main ( String [ ] args ) { String charSet = " qwertyuiopasdfghjklzxcvbnm " ; String str1 = " egrt " ; Console . Write ( conversion ( charSet , str1 . ToCharArray ( ) ) ) ; } }