Category Archives: C#

Monty Hall Problem

The Monty Hall problem is one of those brain teasers which has confused me on the three previous occasions that I read about it.  The (many) articles on line explaining it didn’t resonate with me, so I decided to work … Continue reading

Posted in C# | Leave a comment

Encoding base-N numbers using custom digits

It’s been almost a year since I had to code in anger.  I wanted to do some compression on an XML document by shortening element and attribute names to the bare minimum.  The documents I’m compressing contain an unknown number … Continue reading

Posted in C#, Hints and Tips | Leave a comment