static void Main(string[] args) { //Console.WriteLine(ReverseString("abcd")); //Console.WriteLine(BalancedExpression("ab{<>}cd")); var customStack = new CustomStack(5); Console.WriteLine($"IsEmpty?: {customStack.IsEmpty()}"); customStack.Push(5); customStack.Push(10); customStack.Push(15); Console.WriteLine("Before Pop: "); customStack.Print(); Console.WriteLine($"Pop triggered: {customStack.Pop()}"); Console.WriteLine("After Pop: "); customStack.Print(); Console.WriteLine($"Peek triggered: {customStack.Peek()}"); Console.WriteLine($"IsEmpty?: {customStack.IsEmpty()}"); }