Example of consistent hashing implemented in C#