Skip to content

Your Basket

Free Post & Packing - Click for details

Receive the Foyles Newsletter

  • › Author Events
  • › Signings
  • › New Arrivals
  • › Offers
Newsletter sign up form
British Book Awards banner

Browse

[x]

This item has been added to your basket

View Basket

Professional .NET 2.0 generics

Contributor(s):
Tod Golding
Format:
Ebook PDF , 240mm , 386pp
Publication date:
25 October 2005 
Publisher:
Wiley; 
REF:
9780471757696_2 

List Price: £39.99


Buy Now

Available for immediate download. Includes DRM

Free Postage and Packing on UK orders

For details of Foyles prices online and in-store and delivery arrangements click here *


Synopsis:

The power and elegance of generic types have long been acknowledged. Generics allow developers to parameterize data types much like you would parameterize a method. This brings a new dimension of reusability to your types without compromising expressiveness, type-safety, or efficiency. Now .NET generics makes this power available to all .NET developers. By introducing generic concepts directly into the Common Language Runtime (CLR), Microsoft has also created the first language-independent generics implementation. The result is a solution that allows generic types to be leveraged by all the languages of the .NET platform. This book explores all aspects of the .NET generics implementation, covering everything from fundamental generic concepts, to the elements of generic syntax, to a broader view of how and when you might apply generics. It digs into the details associated with creating and consuming your own generic classes, structures, methods, delegates, and interfaces, examining all the nuances associated with leveraging each of these language constructs. The book also looks at guidelines for working with generic types, the performance gains achieved with generics, the new generic container libraries (BCL and third party), and key aspects of the underlying .NET implementation. For those transitioning from C++, the book provides an in-depth look at the similarities and differences between templates and.NET generics. It also explores the syntactic variations associated with using generics with each of the .NET languages, including C#, Visual Basic, J#, and C++. Professional .NET 2.0 Generics Generics represent one of the most compelling additions to the .NET platform, bringing a new dimension of type-safety, expressiveness, and performance to your data types. Professional .NET 2.0 Generics provides a detailed examination of all the facets of what you can achieve through applying generics. This includes both conceptual and syntactic explorations of generic classes, methods, interfaces, and delegates, as well as all the rules that govern their creation and consumption. The book provides comprehensive information on the new BCL generic types and the Power Collections library. It also looks at some of the broader generic topics, including generic guidelines, a comparison with C++ templates, and the underlying details of the .NET generics implementation. What you will learn from this book Techniques for using generics to improve the type-safety of your code Steps on how to extend classes and introduce your own derivative generic types A point-by-point breakdown of the guidelines for applying generics Ways to achieve run-time efficiencies with generic types Tips on how to work with generics in both J# and C++ How to extend and leverage BCL generic types Approaches to using generics with serialization and remoting Who this book is for This book is for Professional VB.NET and C# programmers and architects who may be new to generics but have strong Microsoft coding skills. Wrox Professional guides are planned and written by working programmers to meet the real-world needs of programmers, developers, and IT professionals. Focused and relevant, they address the issues technology professionals face every day. They provide examples, practical solutions, and expert education in new technologies, all designed to help programmers do a better job.

Table of Contents:

Acknowledgments. Introduction. Chapter 1, Generics 101. Chapter 2, Valuing Type Safety. Chapter 3, Generics &ne, Templates. Chapter 4, Generic Classes. Chapter 5, Generic Methods. Chapter 6, Generic Delegates. Chapter 7, Generic Constraints. Chapter 8, BCL Generics. Chapter 9, Reflection, Serialization, and Remoting. Chapter 10, Generics Guidelines. Chapter 11, Under The Hood. Chapter 12, Using Generics With C++. Chapter 13, Using Generics With J#. Chapter 14, Power Collections. Index.

Additional Information:

Illustrations: ill Related subjects: Microsoft .NET Microsoft .NET Framework Generic programming (Computer science)

* Please Note:

Online: All orders placed here will be charged at the online price shown above whether you have the item delivered or you collect it.

Instore: Items purchased instore are at the price on offer there at that time.

Store Collection: If you are paying online but wish to collect from our Charing Cross Road store, please allow 24 hours between purchase and collection. Please go to Customer Services in the basement

Same-day: For same-day collections, please reserve the book directly with the store on 020 7437 5660 or email orders@foyles.co.uk. Please note the price charged will be the instore not online price.