Driver program
public static void Main ( ) { string str = " CheRrY " ; Console . Write ( " Toggle ▁ case : ▁ " ) ; str = toggleCase ( str . ToCharArray ( ) ) ; Console . WriteLine ( str ) ; Console . Write ( " Original ▁ string : ▁ " ) ; str = toggleCase ( str . ToCharArray ( ) ) ; Console . Write ( str ) ; } }