ANKO Code Academy
AI-Native Coding Learning Platform
Courses
Labs
Discussions
quiz
Advanced Collections Quiz
Question 1 of 10
Score: 0/10
What happens when you add a duplicate value to a HashSet<T>?
An exception is thrown
The value is added twice
The duplicate is ignored (Add returns false)
The original value is replaced
Check Answer
Previous
Next Topic