+ 1

is it possible to use dictionary key to store classes as object

24th Mar 2019, 12:03 PM
Viki-Sumi
Viki-Sumi - avatar
3 Answers
+ 3
Funny! My expectation was that it shouldn't work because types can be modified dynamically and keys need to be immutable all the way to the bottom. Funnily it seems to work anyway, even with custom-made types! Now I'm excited to hear the reason...
24th Mar 2019, 1:14 PM
HonFu
HonFu - avatar
+ 3
Oh yeah, right! Viki-Sumi, this might be interesting for you as well. https://www.sololearn.com/discuss/1737615/?ref=app
30th Mar 2019, 1:40 PM
HonFu
HonFu - avatar
+ 1
Thanks man!!
1st Apr 2019, 9:12 AM
Viki-Sumi
Viki-Sumi - avatar