using System.Collections;
using System.Collections.Generic;
using System.Threading.Tasks;
namespace DemoApplication
public static void Main(string[] args)
foreach (Object obj in st)
Console.WriteLine(); Console.WriteLine();
Console.WriteLine("The number of elements in the stack " +st.Count);
Console.WriteLine("Does the stack contain the elements 3 "+st.Contains(3));