Why not make your own list?
and create a new Add method so that you can check if the value you want to add is already in the list or not?
The only problem I can see is that this will get slow once you have a few items.
and create a new Add method so that you can check if the value you want to add is already in the list or not?
The only problem I can see is that this will get slow once you have a few items.
Code
class NewList<T> : List<T>
{
public new void Add(T item)
{
//Check whether item is already in the list
}
}


![[Image: D12KBT6.png]](https://i.imgur.com/D12KBT6.png)