Generics, Dictionaries, and More

In this conclusion to a three-part series on generics in C#, you’ll learn how to replace hash table objects with their generic counterparts, how to handle constraining type arguments, and more. This article is excerpted from chapter four of the C# 3.0 Cookbook, Third Edition, written by Jay Hilyard and Stephen Teilhet (O’Reilly, 2008; ISBN: 059651610X). Copyright © 2008 O’Reilly Media, Inc. All rights reserved. Used with permission from the publisher. Available from booksellers or direct from O’Reilly Media.
Continue reading

Advanced C#

If you want to study C# in depth, keep reading. This ten-part series covers advanced topics to help you sharpen your skills in the language. It is excerpted from chapter four of C# 3.0 in a Nutshell, Third Edition, A Desktop Quick Reference, written by Joseph Albahari and Ben Albahari (O’Reilly; ISBN: 0596527578). Copyright © 2007 O’Reilly Media, Inc. All rights reserved. Used with permission from the publisher. Available from booksellers or direct from O’Reilly Media.
Continue reading