Can any one can solve the Operator Overloading quiz in c# and tell me reason of the answer | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

Can any one can solve the Operator Overloading quiz in c# and tell me reason of the answer

the link of the quiz there: https://www.sololearn.com/learning/1080/2676/5549/2

17th Jul 2021, 10:19 PM
Mohamed Ahmed Saadeldien
Mohamed Ahmed Saadeldien - avatar
1 Answer
0
You're not adding boxes, you're comparing them. The return type should not be a Box, it should be a bool (true or false)
18th Jul 2021, 7:01 AM
Eli Tsereteli
Eli Tsereteli - avatar