.Net Generics 4.0 Beginner's Guide - Sudipta Mukherjee

.Net Generics 4.0 Beginner's Guide

By: Sudipta Mukherjee

Paperback | 19 January 2011

At a Glance

Paperback


$142.75

or 4 interest-free payments of $35.69 with

 or 

Ships in 10 to 15 business days

Generics were added as part of .NET Framework 2.0 in November 2005. Although similar to generics in Java, .NET generics do not apply type erasure but every object has unique representation at run-time. There is no performance hit from runtime casts and boxing conversions, which are normally expensive..NET offers type-safe versions of every classical data structure and some hybrid ones.

This book will show you everything you need to start writing type-safe applications using generic data structures available in Generics API. You will also see how you can use several collections for each task you perform. This book is full of practical examples, interesting applications, and comparisons between Generics and more traditional approaches. Finally, each container is bench marked on the basis of performance for a given task, so you know which one to use and when.

This book first covers the fundamental concepts such as type safety, Generic Methods, and Generic Containers. As the book progresses, you will learn how to join several generic containers to achieve your goals and query them efficiently using Linq. There are short exercises in every chapter to boost your knowledge.

The book also teaches you some best practices, and several patterns that are commonly available in generic code.

Some important generic algorithm definitions are present in Power Collection (an API created by Wintellect Inc.) that are missing from .NET framework. This book shows you how to use such algorithms seamlessly with other generic containers.

The book also discusses C5 collections. Java Programmers will find themselves at home with this API. This is the closest to JCF. Some very interesting problems are solved using generic containers from .NET framework, C5, and PowerCollection Algorithms a clone of Google Set and Gender Genie for example!

More in Programming & Scripting Languages

Python Using GPT-5 and Gemini - Oswald Campesato

RRP $252.00

$219.75

13%
OFF
The Practical Guide : The Practical Guide - Kerem Koseoglu
Introduction to Programming Languages - Gordon Hurley
The C Programming Language : Prentice Hall Software - Dennis Ritchie

RRP $107.04

$75.75

29%
OFF
Python All-in-One For Dummies : 3rd Edition - John C. Shovic

RRP $74.95

$55.75

26%
OFF
Coding For Dummies, All New Edition : For Dummies (Computer/Tech) - Paul McFedries
PHP, MySQL, & JavaScript All-In-One For Dummies : For Dummies - Richard Blum
Problem Solving and Program Design in C, Global Edition : 8th Edition - Jeri Hanly
Fundamentals of Python : 3rd Edition - First Programs - Kenneth Lambert
C# 10.0 All-in-One For Dummies : For Dummies (Computer/Tech) - John Paul Mueller
Developing Graphics Frameworks with Java and OpenGL - Lee Stemkoski
The C++ Programming Language - Bjarne Stroustrup

RRP $117.91

$89.99

24%
OFF
Coding All-in-One For Dummies : 2nd Edition - Chris Minnick

RRP $69.95

$50.75

27%
OFF
Learning Python 6th Edition : Powerful Object-Oriented Programming - Mark Lutz
Learning Go : An Idiomatic Approach to Real-World Go Programming - Jon Bodner