Open this page in the API Guide

HashSet.count Property

Gets the number of items stored in the hash set.