Dictionary Collection With A Custom String Comparer

After working with the dictionary collections, and the string comparers that go with it. I decided to mess around more with the StringComparer class and define my own equality compare class to get an idea of how things work under the hood. This example is taking elements from a list and putting them into three sorted lists. One sorted list without any kind of compare, the second using the build it string compare class, and the third a small custom compare class. Continue reading

Advertisements