MCQs > IT & Programming > C# > Why must both == and != be defined in C#?

C# MCQs

Why must both == and != be defined in C#?

Answer

Correct Answer: var a=SomeObject(); And a==true returns true and a== false returns false And a!=true returns false and a!=false returns true

Explanation:

Note: This Question is unanswered, help us to find answer for this one

C# Skill Assessment

Overall Skill Level-Poor

Your Skill Level: Poor

Retake Quizzes to improve it

search

C# Skill Assessment

Overall Skill Level-Poor

Your Skill Level: Poor

Retake Quizzes to improve it