1.It can be used for evaluation of expressions.
2.All elements in the Stack collection can be accessed using an enumerator.
3.It is used to maintain a FIFO list.
4.All elements stored in a Stack collection must be of similar type.
5.Top-most element of the Stack collection can be accessed using the Peek()method.
A.1 and 2 only
B.3 and 4 only
C.1, 2 and 5 only
D.All of the above
E.None of the above
Answer: Option C
2.All elements in the Stack collection can be accessed using an enumerator.
3.It is used to maintain a FIFO list.
4.All elements stored in a Stack collection must be of similar type.
5.Top-most element of the Stack collection can be accessed using the Peek()method.
A.1 and 2 only
B.3 and 4 only
C.1, 2 and 5 only
D.All of the above
E.None of the above
Answer: Option C