-
Book Overview & Buying
-
Table Of Contents
.NET 4.0 Generics Beginner's Guide
By :
STL to Generics
|
STL |
.NET Generics class |
Comments |
|---|---|---|
|
|
| |
|
|
|
|
|
|
|
|
|
|
| |
|
|
| |
|
|
Not available |
You can use |
|
|
|
Use |
|
|
Not available. You can use |
Can be modeled as |
|
|
|
Use |
|
|
|
You can also use |
|
|
|
JCF to Generics
|
Java Collection Framework (JCF) |
.NET Generics class |
Comments |
|---|---|---|
|
|
| |
|
|
Not available |
Use |
|
|
| |
|
|
Not available |
Use |
|
|
Not available |
Use |
|
|
Not available |
Use |
|
|
| |
|
|
| |
|
|
| |
|
|
| |
|
|
| |
|
|
Not available |
Use |
|
|
|
Power Collections to Generics
|
Power Collection Class |
.NET Generics class |
Comments |
|---|---|---|
|
|
| |
|
|
| |
|
|
Not Available |
You can use the |
|
|
| |
|
|
| |
|
|
Not available |
This is basically a sorted list where duplicates are allowed. |
|
|
|
You can add/remove from both ends of a |
|
|
|
This is a special case of a Tuple. |
|
|
|
.NET 1.1 to Generics .NET 4.0
|
Non-generic collection |
Generic collection (available from .Net 2.0) |
Thread-safe generic collection |
|---|---|---|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Change the font size
Change margin width
Change background colour