Abstract
In the preceding chapter, you saw how LINQ can help replace existing loops. Loop constructs can sometimes range from difficult to impossible to comprehend, especially when nested. This chapter extends the loop-to-LINQ replacement concept by showing how the open source LINQ API called MoreLINQ can help you refactor legacy code. By going beyond the core LINQ operators, the MoreLINQ API offers a wide range of operators that you can readily use to replace looping or looping/branching logic. After reading this chapter, you should be able to rewrite such code by using methods found in the MoreLINQ API.
Access this chapter
Tax calculation will be finalised at checkout
Purchases are for personal use only
Author information
Authors and Affiliations
Rights and permissions
Copyright information
© 2014 Sudipta Mukherjee
About this chapter
Cite this chapter
Mukherjee, S. (2014). Refactoring with MoreLINQ. In: Thinking in LINQ. Apress, Berkeley, CA. https://doi.org/10.1007/978-1-4302-6844-4_5
Download citation
DOI: https://doi.org/10.1007/978-1-4302-6844-4_5
Published:
Publisher Name: Apress, Berkeley, CA
Print ISBN: 978-1-4302-6845-1
Online ISBN: 978-1-4302-6844-4
eBook Packages: Professional and Applied ComputingApress Access BooksProfessional and Applied Computing (R0)