+ 1
Don't understand answer (C#) not sure what to do.
Hey so I don't understand the answer for Lesson 55.1 "operator overloading". on the second part I get answer 2 and 3 right but 1 I don't. I thought it would be "Box". It is not and I am not sure why. This is not making sense, would ask teacher what the flaw in my thinking is but there is no teacher. Please explain to me what I am doing wrong. I don't need an answer I just want to know how I can understand what to answer.
2 Answers
+ 3
The first answer is "bool", not "Box". This is because that first space is meant for the return type of the function. That function returns a boolean object. The lesson before that question had a function that returned a "Box" object and that is why its return type was "Box".
+ 1
Oh ok, I guess I was thinking of it too much like a class structure that I am used too.