Driver Code
public static void Main ( ) { int [ ] arr = { 3 , - 4 , 2 , - 3 , - 1 , 7 , - 5 } ; int n = arr . Length ; Console . WriteLine ( " Smallest ▁ sum : ▁ " + smallestSumSubarr ( arr , n ) ) ; } }