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

EPUB · English
Price and availability
EPUB eBookUS store
$25.99
Sign in to buyYou’ll review your order and final price before payment.
Download from your library after delivery. Protected eBooks need a compatible reading app.
For personal use under the eBook licence.
Territorial availability
Available in: Andorra, Austria, Australia, Belgium, Bulgaria, Canada, Switzerland, Cyprus, Czechia, Germany, Denmark, Estonia, Spain, Finland, France, United Kingdom, Guernsey, Greece, Croatia, Hungary, Ireland, Isle of Man, Iceland, Italy, Jersey, Japan, Liechtenstein, Lithuania, Luxembourg, Latvia, Monaco, Malta, Netherlands, Norway, Poland, Portugal, Romania, Sweden, Slovenia, Slovakia, San Marino, United States, Vatican City, South Africa
Publisher rights cover these stores: US, UK, Canada, EU, Australia. Checkout availability is shown above.
- Format
- EPUB
- DRM
- Not stated by the publisher
- Language
- English
- Publisher
- Packt Publishing
- Published
- 25 April 2013
- ISBN
- 9781849688574
- Subjects
- Computer programming / software development, Computer programming / software engineering
About this book
Utilize and harness the power of extension methods in your .NET applicationsKey FeaturesLearn something new in an Instant! A short, fast, focused guide delivering immediate results.Explains how to write your own extension methods on types ranging from primitive to complexShows caveats to watch out for and apply workarounds to themHelps to better architect your applications to maximize code maintainabilityBook Description.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.What you will learnExtending primitive and complex typesTricks and caveats of extending the string data typeMethod chaining using extension methodsExtending interfaces while taking inheritance into considerationStructuring your project to incorporate proper namespace convention when using extension methodsKnowing how and when to extend IEnumerable versus IQueryable for performance and optimization of queriesStructuring your project to incorporate proper namespace convention when using extension methodsWho this book is forThis book is for developers in C# and the .NET framework, with a basic understanding of language syntax and OOP concepts. Readers are expected to have some experience in finding their way around Visual Studio.]]>
Bibliographic data © Gardners Books Ltd.