What if a = 2, b = 3 Then a == b is ?
a==b ?
3 Answers
Know the answer? Post it. Somebody with the same question will find it here.
Know the answer? Post it. Somebody with the same question will find it here.
Answer a question in the forums and earn +20 SHARP for every answer.
See unanswered questions
DevSocialUpcoming · 3rd editionAI Agents ConferenceDec 1–3, 2026Live onlineFree to attend5days leftRegister
Arunava BhattacharjeeRank #635 · 3.8K reputationPosted Oct 9, 2014, 11:19 PM EDT
VulpesRank #55 · 29.2K reputationPosted Oct 10, 2014, 1:11 AM EDT
However, in C#, there is no conversion defined between the bool and int types.
Munesh SharmaRank #174 · 13.9K reputationPosted Oct 10, 2014, 1:07 AM EDT
if(a==b)
{
}
else
{
// it ll go in else
// means it will return false
}