Sometimes you want to create a unique lists, this can be done in various ways but since .NET3.5 a new method called HASHSET was created
Hash Set on MSDN: http://msdn.microsoft.com/en-us/library/bb359438.aspx
Some code I can across recently used SortedList and I wanted to see how this compared to HashSet.
So I set about testing a simple sting write and read 50,000; code below
And just for a comparison
This was run multiple times via a console