This is the temporary stack
Stack < int > tmpStack = new Stack < int > ( ) ; tmpStack = sortedMerge ( ref s1 , ref s2 ) ; Console . Write ( " Sorted ▁ and ▁ merged ▁ stack ▁ : STRNEWLINE " ) ; while ( tmpStack . Count != 0 ) { Console . Write ( tmpStack . Peek ( ) + " ▁ " ) ; tmpStack . Pop ( ) ; } } }