Tracks
/
C#
C#
/
Exercises
/
Custom Set
Custom Set

Custom Set

Medium

Instructions

Create a custom set type.

Sometimes it is necessary to define a custom data structure of some type, like a set. In this exercise you will define your own set. How it works internally doesn't matter, as long as it behaves like a set of unique elements.

This exercise requires you to create custom equality comparison logic. For more information, see this page.

Edit via GitHub The link opens in a new window or tab
C# Exercism

Ready to start Custom Set?

Sign up to Exercism to learn and master C# with 62 concepts, 165 exercises, and real human mentoring, all for free.