MCQs > IT & Programming > C# > Which of the following are correct in relation to the above C#.Net code? Stack st = new Stack(); st.Push('UpWork'); st.Push(9.2); st.Push(6); st.Push('i'); st.Push(false);

C# MCQs

Which of the following are correct in relation to the above C#.Net code? Stack st = new Stack(); st.Push("UpWork"); st.Push(9.2); st.Push(6); st.Push('i'); st.Push(false);

Answer

Correct Answer: The same Stack collection cannot be used to store dissimilar elements like "UpWork", 9.2, and 6.

Explanation:

Note: This Question is unanswered, help us to find answer for this one

C# Skill Assessment

Overall Skill Level-Poor

Your Skill Level: Poor

Retake Quizzes to improve it

More C# MCQ Questions

search

C# Skill Assessment

Overall Skill Level-Poor

Your Skill Level: Poor

Retake Quizzes to improve it