Driver code
public static void Main ( String [ ] args ) { String str = "129814999" ; int k = 4 ; max = str ; findMaximumNum ( str . ToCharArray ( ) , k ) ; Console . Write ( max + " STRNEWLINE " ) ; } }