Hashable Conains Unique values.
eg.
HashSet
hst.Add(1);
hst.Add(2);
hst.Add(2);
hst.Add(2);
hst.Add(2);
hst.Add(3);
Response.Write("count="+Count);
above example will Print count=3. because HashSe Contains Only three unique elements.
HashSet is Faster than IList in many ways.
To knwo more feature of HashSe Visit..
http://www.vcskicks.com/hashset.php
and
http://msdn.microsoft.com/en-us/library/bb495294.aspx
Thanks.
No comments:
Post a Comment
Comments posted on ASP.Net Ajax Tutorials Blog are moderated and will be approved only if they are on-topic and not abusive. Please email me or my team for tech-support or blogging related questions. Avoid including website URLs in your comments - Thanks Author