+ 1
why --> obj.Equals()
Trying to compare if two obj are same type. No output. I'm missing the true use/meaning of <object.Equals()> ? https://code.sololearn.com/cCPUK0u9GiI5/?ref=app
1 Odpowiedź
+ 2
You could use the is operator or Another possibility is to use the as
I changed your code
https://code.sololearn.com/cZo3jGEUSUsT/?ref=app