Wrox Programmer Forums
Go Back   Wrox Programmer Forums > C# and C > C# 2005 > C# 2005
|
C# 2005 For discussion of Visual C# 2005.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the C# 2005 section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
 
Old April 11th, 2006, 08:12 PM
jminatel's Avatar
Wrox Staff
Points: 18,059, Level: 58
Points: 18,059, Level: 58 Points: 18,059, Level: 58 Points: 18,059, Level: 58
Activity: 0%
Activity: 0% Activity: 0% Activity: 0%
 
Join Date: May 2003
Posts: 1,906
Thanks: 62
Thanked 139 Times in 101 Posts
Default Excerpt: Understanding Generic Classes

[Yes, this is a cross post]
If you are reading about C# 2005, you've no doubt at least heard of generics. (While generics work with VB too, I think most generics users initially come from a C# background.) Still wondering what generics are? How to make the transition to thinking in generics? From the best-kept secret in .NET 2.0 Programming, Professional .NET 2.0 Generics, Tod Golding's excerpt Understanding Generic Classes helps you make the transition to writing your own generic types. Here's the beginning of the excerpt:

Many developers will view themselves primarily as consumers of generics. However, as you get more comfortable with generics, you're likely to find yourself introducing your own generic classes and frameworks. Before you can make that leap, though, you'll need to get comfortable with all the syntactic mutations that come along with creating your own generic classes. Fortunately, you'll notice that the syntax rules for defining generic classes follow many of the same patterns you've already grown accustomed to with non-generic types. So, although there are certainly plenty of new generic concepts you'll need to absorb, you're likely to find it quite easy to make the transition to writing your own generic types.

Read the rest of the excerpt here.

Jim Minatel
Senior Acquisitions Editor
Wiley Technology Publishing
WROX Press
Blog: http://wroxblog.typepad.com/
Jim's Book of the week: No book this week - Donate to the Red Cross!
__________________
Jim Minatel
Associate Publisher, WROX - A Wiley Brand
Did someone here help you? Click on their post!





Similar Threads
Thread Thread Starter Forum Replies Last Post
.NET 2.0 article: Understanding Generic Classes jminatel .NET Framework 2.0 1 May 4th, 2007 07:30 AM
Ajax-enabled controls in ASP.NET 2.0 excerpt jminatel Ajax 0 August 26th, 2006 01:37 PM
New excerpt article: Using Generic Methods jminatel C# 2005 0 May 5th, 2006 04:23 PM
Excerpt article: Using Generic Methods jminatel .NET Framework 2.0 0 May 5th, 2006 04:19 PM
Excerpt: Ajax Submission Throttling jminatel BOOK: Professional Ajax ISBN: 978-0-471-77778-6 0 April 11th, 2006 08:03 PM





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.