I am a new using stack but is the only way to make the calculator I need to know how to fill the stack Retrevieve the numbers and operators and then get the result

Please teach me how to use the stack : I am using Visual studio 2005 c#

Stack<int> numbers = new Stack<int>();
int x = numbers.Pop();
int y = 5;
number.Push(y);
Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.