Tuesday, March 14, 2006

Dear MSDN

The System.Collections.Hashtable documentation is absolutely worthless. The example code fails to illustrate the primary use of a hashtable, which is to store and retrieve a value by key.

The example shows values being added to a hashtable, and then shows how these values can be iterated through and printed. Guess what - I already know how to iterate through something, I want to learn how to FIND something by the KEY in a hashtable - because, here comes the shocker.... thats what hashtables are for in the first place.



Sometimes I wish I was a monkey, so I could go to Redmond and start throwing my own shit at the the people that maintain MSDN...

0 Comments:

Post a Comment

<< Home