Method Count Count() The current number of key-value pairs in this hash map. Declaration public readonly int Count() Returns Type Description int The current number of key-value pairs in this hash map.