Details zum E-Book

Instant .NET 4.5 Extension Methods How-to. Utilize and harness the power of extension methods in your .NET applications

Instant .NET 4.5 Extension Methods How-to. Utilize and harness the power of extension methods in your .NET applications

Shawn R. McLean, Shawn Ricardo Mclean

E-book
.NET extension methods is an essential feature to know and understand for all .NET developers. Usage of extension methods is found in applications ranging from small to large scale enterprise systems built using the .NET framework. Create and use extension methods the correct way to save your development time and maintainability costs.

Instant .NET 4.5 Extension Methods How-to is a practical, hands-on guide that provides you with a number of clear, step-by-step exercises that will help you take advantage of the real power that is behind extension methods and gives you good knowledge of how to use them in your .NET applications.

This book covers how to create, write, and use different types of extension methods. It will take you through a number of clear, practical recipes that will help you take advantage of the power of extension methods in the quickest possible way.

You will also learn exactly how to create extension methods on strings, interfaces, classes such as IQueryable and IEnumerable, and so on. You will write them from scratch and then use them practically in your application. You will also learn the most suitable scenarios for using these extension methods.You will learn everything you need to know about creating your own extension methods and using them and other external extension methods.
  • Instant .NET 4.5 Extension Methods How-to
    • Instant .NET 4.5 Extension Methods How-to
    • Credits
    • About the Author
    • About the Reviewer
    • www.PacktPub.com
      • Support files, eBooks, discount offers and more
        • Why Subscribe?
        • Free Access for Packt account holders
    • Preface
      • What this book covers
      • What you need for this book
      • Who this book is for
      • Conventions
      • Reader feedback
      • Customer support
        • Downloading the example code
        • Errata
        • Piracy
        • Questions
    • 1. Instant .NET 4.5 Extension Methods How-to
      • Your first extension method (Must know)
        • Getting ready
        • How to do it...
        • How it works...
      • Extension methods on string data types (Must know)
        • Getting ready
        • How to do it...
        • How it works...
        • Theres more
      • Extension methods on classes (Should know)
        • Getting ready
        • How to do it...
        • How it works...
        • There's more
      • Chaining extension methods (Should know)
        • Getting ready
        • How to do it...
        • How it works...
      • Overloading extension methods (Should know)
        • Getting ready
        • How to do it...
        • How it works...
      • Overriding extension methods (Should know)
        • Getting ready
        • How to do it...
        • How it works...
      • Extension methods on interfaces (Should know)
        • Getting ready
        • How to do it...
        • How it works...
      • Extension methods on enumerables (Should know)
        • Getting ready
        • How to do it...
        • How it works...
        • There's more...
      • Extension methods on IQueryable (Become an expert)
        • Getting ready
        • How to do it...
        • How it works...
      • Extension methods with generics (Become an expert)
        • Getting ready
        • How to do it...
        • How it works...
      • Extension methods with lambda expressions (Become an expert)
        • Getting ready
        • How to do it...
        • How it works...
      • Structuring your project and best practices (Should know)
        • Getting ready
        • How to do it...
        • How it works...
      • Appendix List of well-known extension libraries
  • Titel: Instant .NET 4.5 Extension Methods How-to. Utilize and harness the power of extension methods in your .NET applications
  • Autor: Shawn R. McLean, Shawn Ricardo Mclean
  • Originaler Titel: Instant .NET 4.5 Extension Methods How-to. Utilize and harness the power of extension methods in your .NET applications
  • ISBN: 9781849688574, 9781849688574
  • Veröffentlichungsdatum: 2013-04-25
  • Format: E-book
  • Artikelkennung: e_2wkv
  • Verleger: Packt Publishing