Discover millions of ebooks, audiobooks, and so much more with a free trial

Only $11.99/month after trial. Cancel anytime.

Instant .NET 4.5 Extension Methods How-to
Instant .NET 4.5 Extension Methods How-to
Instant .NET 4.5 Extension Methods How-to
Ebook120 pages32 minutes

Instant .NET 4.5 Extension Methods How-to

Rating: 0 out of 5 stars

()

Read preview

About this ebook

Filled with practical, step-by-step instructions and clear explanations for the most important and useful tasks.The book is packed with quick recipes on creating and extending extension methods in your .NET applications. This 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.
LanguageEnglish
Release dateApr 24, 2013
ISBN9781849688574
Instant .NET 4.5 Extension Methods How-to

Related to Instant .NET 4.5 Extension Methods How-to

Related ebooks

Programming For You

View More

Related articles

Reviews for Instant .NET 4.5 Extension Methods How-to

Rating: 0 out of 5 stars
0 ratings

0 ratings0 reviews

What did you think?

Tap to rate

Review must be at least 10 words

    Book preview

    Instant .NET 4.5 Extension Methods How-to - Shawn R. McLean

    Table of Contents

    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...

    There's 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

    Instant .NET 4.5 Extension Methods How-to


    Instant .NET 4.5 Extension Methods How-to

    Copyright © 2013 Packt Publishing

    All rights reserved. No part of this book may be reproduced, stored in a retrieval system, or transmitted in any form or by any means, without the prior written permission of the publisher, except in the case of brief quotations embedded in critical articles or reviews.

    Every effort has been made in the preparation of this book to ensure the accuracy of the information presented. However, the information contained in this book is sold without warranty, either express or implied. Neither the author, nor Packt Publishing, and its dealers and distributors will be held liable for any damages caused or alleged to be caused directly or indirectly by this book.

    Packt Publishing has endeavored to provide trademark information about all of the companies and products mentioned in this book by the appropriate use of capitals. However, Packt Publishing cannot guarantee the accuracy of this information.

    First published: April 2013

    Production Reference: 1170413

    Published by Packt Publishing Ltd.

    Livery Place

    35 Livery Street

    Birmingham B3 2PB, UK.

    ISBN 978-1-84968-856-7

    www.packtpub.com

    Credits

    Author

    Shawn R. McLean

    Reviewer

    Wei Chung, Low

    IT Content Commissioning Editor

    James Jones

    Commissioning Editor

    Sharvari Tawde

    Technical Editor

    Worrell Lewis

    Project Coordinator

    Sherin Padayatty

    Proofreader

    Linda Morris

    Production Coordinator

    Shantanu Zagade

    Cover Work

    Shantanu Zagade

    Cover Image

    Sheetal Aute

    About the Author

    Shawn R. McLean is passionate about architecting and developing scalable mobile and web applications based on the Microsoft .NET platform using ASP.NET MVC, ASP.NET WebAPI, and C#, along with using open source frameworks. He is an

    Enjoying the preview?
    Page 1 of 1