+ 3
Can you give an example of : Converting a HashSet to a string ? in C#
I tried to implement it , but I do not know why I got this result : https://code.sololearn.com/c1a14A1A14a1/?ref=app
4 ответов
+ 4
If you don't want to loop through your hash set, you could use:
string.Join(" ", hs);
instead of ToString() on line 40.
+ 2
It did not work, can you edit the code and then give it to me ?
Trinity ⚜
+ 2
You have a pm. Also have a look on how to loop through lists and sets with a for loop. Or I could show you later this day...
+ 2
Big thanks for Trinity ⚜
It worked :
https://code.sololearn.com/ccV45574kvb1/?ref=app