Drivers code
public static void Main ( String [ ] args ) { int [ ] arr = { 2 , - 5 , 4 , - 6 , - 3 } ; int n = arr . Length ; Pair point = findSubArray ( arr , n ) ; Console . WriteLine ( " Subarray ▁ starting ▁ from ▁ " + point . first + " ▁ to ▁ " + point . second ) ; } }