Hi All, I'm preparing an implementation plan for a .Net project and thereby a section on best coding practices. I'm stuck up with this question: [Q1] When and when not to use the Anonymous Methods. Is there any suggested practice for this?
All that I have learnt is we should opt for Anonymous methods only when the Method Statements are something like use and throw, that is, the method is not re-used elsewhere. [Q2] So, what if at some point of time in future, we need to reuse the method which had been implemented anonymously. Should we leave it to the hands of Refactoring when needed?
Please share links of any articles related to this ...
Go to the complete details ...