Can u explain what is HashSet?

Posted by Sivanagamahesh under .NET Framework on 12/30/2017 | Points: 10 | Views : 2195 | Status : [Member] | Replies : 1
Hi,
HashSet The C# HashSet information structure was presented in the .NET Framework 3.5. A full rundown of the actualized individuals can be found at the HashSet MSDN page.

Where is it utilized?

For what reason would you need to utilize it?

Thanks

kosmiktechnologies.com




Responses

Posted by: Ummayashri on: 3/13/2018 [Member] Starter | Points: 25

Up
0
Down
HashSet is an unordered gathering containing extraordinary components. It has the standard gathering activities Add, Remove, Contains, yet since it utilizes a hash-based execution, these tasks are O(1). ( instead of List for instance, which is O(n) for Contains and Remove.)
https://www.besanttechnologies.com/training-courses/dot-net-training

Sivanagamahesh, if this helps please login to Mark As Answer. | Alert Moderator

Login to post response