Is there any way we can detach these multiple if else statements in to nested method in place of those things so that nested method will be triggered and continue. So that if else statement will be removed so that my scan will pass.
I will get back to you soon.
Hi vijay9471,
You can't create nested method from the code.
As there is no common functionality in the code.
You have to write the condition inside the same method.
Like same loop to be duplicated in child method? If we create like that will it be in sync?
if you write a method and call inside it will be same as currently doing. No difference will be there.
© COPYRIGHT 2025 ASPSnippets.com ALL RIGHTS RESERVED.