Driver Code
public static void Main ( String [ ] args ) { int [ ] arr = { 1000 , 11 , 445 , 1 , 330 , 3000 } ; int arr_size = 6 ; Pair minmax = getMinMax ( arr , arr_size ) ; Console . Write ( " Minimum ▁ element ▁ is ▁ { 0 } " , minmax . min ) ; Console . Write ( " element is { 0 } " , minmax . max ) ; } }