Indunil Sanjeewa Amarasinghe
asked on
Preventing Methods stacking in c#
Dear Sir/Madam,
I need to find out how best I can avoid methods stacking in a C# windows application like this?
Its a project I have already done to some extent. I just need to make improvements to it.
What is the best approach I can apply to avoid this situation?
I have a lot of controls added to the forms as well.
A();
B();
C();
D();
E();
F();
Kind Regards,
Indunil Sanjeewa
I need to find out how best I can avoid methods stacking in a C# windows application like this?
Its a project I have already done to some extent. I just need to make improvements to it.
What is the best approach I can apply to avoid this situation?
I have a lot of controls added to the forms as well.
A();
B();
C();
D();
E();
F();
Kind Regards,
Indunil Sanjeewa
@AndyAinscow You're not the only one that is not clear on the askers objective
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Most clear answer to an unclear question
Well you could put all the code into one method so it will just be
A();
but I would not advise that in terms of writing nicely structured code. Maybe you aren't being clear but I do not see anything wrong in principle with:
A();
B();
C();
D();
E();
F();