Driver method
public static void Main ( ) { int [ ] arr = { 12 , 34 , 54 , 2 , 3 } ; Console . Write ( " Array ▁ before ▁ sorting ▁ : STRNEWLINE " ) ; printArray ( arr ) ; ShellSort ob = new ShellSort ( ) ; ob . sort ( arr ) ; Console . Write ( " Array ▁ after ▁ sorting ▁ : STRNEWLINE " ) ; printArray ( arr ) ; } }