Friday, 29 June 2012

The Folly of Dictionary.Keys()

Keys is a property on the Generic Dictionary object. Trying to use it like a method will result in a "non-invokable member xxx cannot be used like a method". Other properties on Dictionary include Values (which interestingly returns a "ValueCollection") and Count (returns an int).

No comments: