if (cmbHeader.SelectedIndex > -1 && cmbStaffType.SelectedIndex > -1 && cmbTQD.SelectedIndex > -1 )
{
//Do something
}
sonar qube flags it to be removed or refactored need help whats the best solution
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 attend4days leftRegister
Madan ShekarRank #428 · 5.9K reputationPosted Apr 1, 2021, 12:25 AM EDT