✅ Two symbols not resolved
I have two errors saying "symbol not resolved" on my code. All the methods here are inside of the same class. I tried to initialize a variable from the Class but it did not work. Could anyone kindly point me out a correct direction (like links to tutorials/videos or just a little bit of advice)?
7 Replies
Why are you using
HashTable
...?
Also, do you have a class named Solution
?The Hashtable came from the book that I practice code with.
No, I only have the data named , this one:
`
Just so you know, hashtable hasn't been in use for for probably well over a decade now
Dictionary<TKey, TValue>
is what you use
So if it came from a book, the book is probably too old to be of any useAhhhhhh
Thank you so much for pointing that out
The book was first published in 2018, but seems to me like I am working with the deprecated reference
I did not know Hashtable hasn't been in use for such a long time
Here you can find a bit more about non-generic and generic collections and why you shouldn't be using the former: https://youtu.be/egPvSkPwDN4?t=2107
Thanks a lot for the link, will check it out tomorrow 😉
Was this issue resolved? If so, run
/close
- otherwise I will mark this as stale and this post will be archived until there is new activity.