1 option
Professional .NET 2.0 generics / Tod Golding.
- Format:
- Book
- Author/Creator:
- Golding, Tod.
- Series:
- Programmer to programmer Professional .NET 2.0 generics
- Language:
- English
- Subjects (All):
- Generic programming (Computer science).
- Microsoft .NET Framework.
- Microsoft .NET.
- Physical Description:
- 1 online resource (410 p.)
- Edition:
- 1st edition
- Place of Publication:
- Indianapolis, Ind. : Wiley ; Chichester : John Wiley [distributor], 2005.
- Language Note:
- English
- System Details:
- text file
- Summary:
- The power and elegance of generic types have long been acknowledged. Generics allow developers to parameterize data types much like you would parameterize a method. This brings a new dimension of reusability to your types without compromising expressiveness, type-safety, or efficiency. Now .NET generics makes this power available to all .NET developers. By introducing generic concepts directly into the Common Language Runtime (CLR), Microsoft has also created the first language-independent generics implementation. The result is a solution that allows generic types to be leveraged by all the la
- Contents:
- Cross-Language SupportDebugging; Mix and Match Nirvana; Summary; Chapter 4: Generic Classes; Parameterizing Types; Inheritance; Fields; Methods; Nested Classes; Consuming Generic Classes; The Default Keyword; System. Nullable; Accessing Type Info; Indexers, Properties, and Events; Generic Structs; Generic Interfaces; Summary; Chapter 5: Generic Methods; The Basics; A Deeper Look; Apply Constraints; Type Parameter Names; Overloading Generic Methods; Overriding Generic Methods; Type Inference; Generic Methods and Delegates; Type-Safe Database Access Example; Summary
- Chapter 6: Generic DelegatesDelegate Basics; Adding Generics to the Equation; Event Handling; Generic Delegates with Generic Methods; Delegates in the Framework; Type Coercion; Applying Constraints; Delegates and Anonymous Methods; Summary; Chapter 7: Generic Constraints; Overview; Constraint Types; Boxing and Constraints; Using Multiple Constraints; Generic Delegate and Method Constraints; Inheritance and Constraints; Are Generics Generic?; Summary; Chapter 8: BCL Generics; Motivation; The Big Picture; Generic Collection Classes; Testing Equality; Null Collection Elements; More to Come
- SummaryChapter 9: Reflection, Serialization, and Remoting; Reflection; Serialization; Remoting; Summary; Chapter 10: Generics Guidelines; An Evolving List; Defining Guidelines; Organization; Identifying Generic Opportunities; Balancing Readability with Expressiveness; Using BCL Generic Types; Applying Constraints; The Kitchen Sink; Summary; Chapter 11: Under the Hood; Overview; Assumptions; High-Level Goals; IL Representation of Generic Types; Specialization and Sharing; Exact Run-Time Types; Support for Polymorphic Recursion; NGen and Generic Types; Performance; Memory Footprint
- Backward CompatibilitySummary; Chapter 12: Using Generics with C++; Templates or Generics?; Blurring the Lines; No Limits; Generic Classes in C++; Generic Methods in C++; Generic Interfaces in C++; Constraints; Generic Delegates in C++; Mixing Generics and Templates; STL.NET; Summary; Chapter 13: Using Generics with J#; J# Generic Limitations; Migrating from Java Generics; Consuming Generic Types; Leveraging Cross-Language Support; Working with Interfaces; Complying with Constraints; Calling Generic Methods; Java Type Arguments; Calling Generic Delegates; Arrays of Generic Types; Summary
- Chapter 14: Power Collections
- Notes:
- Includes index.
- ISBN:
- 9786610235766
- 9781280235764
- 1280235764
- 9780471757696
- 0471757691
- OCLC:
- 71830979
The Penn Libraries is committed to describing library materials using current, accurate, and responsible language. If you discover outdated or inaccurate language, please fill out this feedback form to report it and suggest alternative language.