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
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();