If the element is not equal to largest element
if ( arr [ i ] != arr [ arr_size - 1 ] ) { Console . Write ( " The ▁ second ▁ largest ▁ " + " element ▁ is ▁ { 0 } STRNEWLINE " , arr [ i ] ) ; return ; } } Console . Write ( " There ▁ is ▁ no ▁ second ▁ " + " largest ▁ element STRNEWLINE " ) ; }