Programming Books C Java PHP Python Learn more Browse Programming Books
Professional .NET 2.0 Generics (Programmer to Programmer) and over one million other books are available for Amazon Kindle. Learn more
Have one to sell? Sell on Amazon
Flip to back Flip to front
Listen Playing... Paused   You're listening to a sample of the Audible audio edition.
Learn more
See this image

Professional .NET 2.0 Generics (Programmer to Programmer) Paperback – October 17, 2005

ISBN-13: 978-0764559884 ISBN-10: 0764559885 Edition: 1st

9 New from $5.98 38 Used from $0.01 1 Collectible from $9.98
Amazon Price New from Used from
Kindle
"Please retry"
Paperback
"Please retry"
$5.98 $0.01
Best%20Books%20of%202014
NO_CONTENT_IN_FEATURE

Shop the New Digital Design Bookstore
Check out the Digital Design Bookstore, a new hub for photographers, art directors, illustrators, web developers, and other creative individuals to find highly rated and highly relevant career resources. Shop books on web development and graphic design, or check out blog posts by authors and thought-leaders in the design industry. Shop now

Product Details

  • Series: Programmer to Programmer
  • Paperback: 408 pages
  • Publisher: Wrox; 1 edition (October 17, 2005)
  • Language: English
  • ISBN-10: 0764559885
  • ISBN-13: 978-0764559884
  • Product Dimensions: 7.4 x 0.9 x 9.3 inches
  • Shipping Weight: 1.4 pounds
  • Average Customer Review: 4.3 out of 5 stars  See all reviews (18 customer reviews)
  • Amazon Best Sellers Rank: #1,023,935 in Books (See Top 100 in Books)

Editorial Reviews

From the Back Cover

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.

About the Author

Tod Golding has 20 years of experience as a software developer, lead architect, and development manager for organizations engaged in the delivery of large-scale commercial and internal solutions. He has an extensive background leveraging .NET, J2EE, and Windows DNA technologies, which has allowed him to become equally skilled with C#, Java, and C++. Tod has worked and consulted at a variety of companies, including stints with Microsoft and Borland.
Tod has a B.S. in Computer Science from California State University, Sacramento. He started his writing career as a journalist for the Sacramento Bee daily newspaper. Prior to this book, he was also a contributing author for the XML Programming Bible, another Wiley publication. Tod currently resides in Sacramento, California, where he owns and operates Blue Puma Software.

More About the Author

Discover books, learn about writers, read author blogs, and more.

Customer Reviews

Very well written book.
Shashi Shekhar
This book has convinced me that generics will work equally well in C++, C#, and even Visual Basic.
Michael Cohn
You'll need a good understanding of Programming concepts in general before you start on this book.
G. Harris

Most Helpful Customer Reviews

11 of 11 people found the following review helpful By William G. Ryan VINE VOICE on April 3, 2006
Format: Paperback
I just got a copy of this book earlier today and am comfortable reviewing it already. That's because I've read through it already. After I got started, I didn't want to put it down and although I spent most of today reading it, it was very informative and a lot of fun to read.

The first chapter is your standard first chapter and lays the groundwork for the rest of the book. It moves forward into the subject of Generics and new .NET 2.0 Framework featurews , briefly discusses the difference between templates and generics and them moves full steam into generics. To of the last chapters discuss J# and C++ in particular, as opposed more specific generics topics but they are definitely appropriate and don't come at the expense of anything else.

The main thing that this book does is explain why you want to use generics and shows how to use them. The author knows the subject matter well and does a very good job of explaining each objective. by the time you move into the middle of the book, you'll thoroughly understand how to create and manage generic types and you'll learn quite a bit about the performance implications and benefits. Chapters 4-8 walk you through just about every aspect of using generics (as opposed to the previous 1.x way of doing things).

Chapter 8 moves onto the BCL implementations and ties together everything before it. By the time you complete chapter 8, you'll be comfortable in your ability to handle just about anything you'd ever want to accomplish with generics.

Chapter 9 discusses Serialization, Reflection and Remoting. This chapter was ostensibly my favorite but is also the one I have the biggest complaint with. Don't get me wrong, it's excellent. However I really wish the discussion on remoting was a little longer.
Read more ›
Comment Was this review helpful to you? Yes No Sending feedback...
Thank you for your feedback. If this review is inappropriate, please let us know.
Sorry, we failed to record your vote. Please try again
6 of 6 people found the following review helpful By John Matlock on November 14, 2005
Format: Paperback
The most important changes in the new .NET 2.0 is the inclusion of Generics. Note the word 'Professional' in the title. This book is for Professional VB.NET and C# programmers and architects who may be new to generics but have strong Microsoft coding skills.

The book begins on page 1 with a section labeled 'Why Generics.' After three introductory paragraphs he starts off with a couple of sample programs. The two programs do the same thing, but one is written in VB and the other in C#. After a few pages he modifies these two programs to show the benefit to the coding that using Generics provides. As I said earlier, this is by no means a beginners book, it's one professional programmer writing for another.

I don't knwo for sure, but his book probably has more space showing programs than text. This doesn't make for the easiest book to read, but when you get through it, you see exactly what Generics provide. You see the strengths, you see the limitations. You see exactly how to use them in your code.

Finally in the last chapter, which is 77 pages long, deals with the Power Collections generic libraries and how to use them. One thing he does not give is a web address for the collections. Here are some that may be of help:

Power Collections -- [...]

C5 -- [...]

NCollection -- ncollection.tigris.org/

NGenLib -- ngenlib.sourceforge.net/
Comment Was this review helpful to you? Yes No Sending feedback...
Thank you for your feedback. If this review is inappropriate, please let us know.
Sorry, we failed to record your vote. Please try again
6 of 6 people found the following review helpful By Sredni Vashtar on November 30, 2005
Format: Paperback
Generics are one of the biggest advances introduced in .NET 2.0, and this book provides excellent coverage of the topic. As a diehard fan of C++ templates, I especially appreciated the careful discussion of the differences between templates and generics. There is plenty of introductory material here to help the reader unfamiliar with the basic concepts; but more advanced readers can also dig in to the chapters on the "inner workings" of generics, and on how C++ templates can interact with them. The book also provides a concise reference on the template classes supplied with the framework. Highly recommended.
Comment Was this review helpful to you? Yes No Sending feedback...
Thank you for your feedback. If this review is inappropriate, please let us know.
Sorry, we failed to record your vote. Please try again
4 of 4 people found the following review helpful By W Boudville HALL OF FAMETOP 1000 REVIEWERVINE VOICE on November 13, 2005
Format: Paperback
Generics is [sic] one of the most compelling ideas in any object oriented language. The puzzle is that it was not present in the first versions of .NET and Java. It is only now (2004-5) that both languages comes with this. A little strange, considering that C++ has had templates for several years, and these are roughly equivalent to the implementations of Generics in .NET and Java.

Anyhow, Golding focuses on explaining the use of Generics within .NET. The latter encompasses several Microsoft languages that now have this facility - VB, C# and J#. The book makes a practice of giving code examples in pairs; written in VB and C#. To broaden its appeal to practitioners in both.

He shows how Generics can be succinctly thought of as parametric polymorphism. It takes the elementary idea of polymorphism that every object oriented language has, and extends it to parameterising the input types to a class's methods or constructors.

The book gives a pretty thorough rundown on Generics. Including explaining the differences with C++ templates. The biggest being crucially that .NET Generics are instantiated at runtime, while the latter are at compile time. [Golding devotes an entire chapter to the consequences of this.]

You can get an appreciation for the extra type safety and generalisations possible in your code.
Comment Was this review helpful to you? Yes No Sending feedback...
Thank you for your feedback. If this review is inappropriate, please let us know.
Sorry, we failed to record your vote. Please try again

Most Recent Customer Reviews