Driver code
public static void Main ( string [ ] args ) { int [ ] arr = { 4 , 9 , - 3 , 2 , 0 } ; int N = arr . Length ; ArrayList pair = new ArrayList ( ) ; pair = smallestSumpair ( arr , N ) ; Console . Write ( pair [ 0 ] + " ▁ " + pair [ 1 ] ) ; } }