Any alternative to nested if conditions in the below code? – Asp.net
if(section1()){ if(section2()){ if(section3()){ . . . // Upto 10 methods if(section10(){ return true; } } } } I am writing validations for 170+ controls, divided into 10 sections. As per business logic, if first section method returns true, then execute…