Click here to Skip to main content
15,886,806 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
There is a container in VB.NET that when you add an item that already exists then nothing happens (it is not added )
for example if the container variable is named a then
a.add(1) a.add(1) a.add(2)
will result in "a" having two items (1,2 ) and not three(1,1,2)
the problem is that I forgot the object's name
any help ?
thank you !
Posted

1 solution

HashSet(T)[^] (see the Remarks section).
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900