Free practice test
Immutable Value Keys: Equality and Hash-Code Practice
Twelve focused questions on immutable value keys, equality laws, collisions and collection comparers. Review the explanation after each attempt. Use alongside lesson 1 of C# Equality and Hash Collections; allow about 20 minutes.
- Answers save as you go. Move between questions freely, and mark any to come back to.
- No time limit: take as long as you need.
- Keyboard: press A–D to choose an option; ← and → move between questions.
- Questions
- 12
- Time
- No limit
- Right answer
- +1
- Wrong answer
- 0
12 marks in all
Checking your account so your result is saved correctly.
From the lesson Equality and Hash-Code Contracts for Immutable C# Value Keys