咨询与建议

看过本文的还看了

相关文献

该作者的其他文献

文献详情 >Professional .NET 2.0 Generics... 收藏

Professional .NET 2.0 Generics (Programmer to Programmer)

专业.NET 2.0泛型

丛 书 名:Wrox professional guides \ Programmer to Programmer

版本说明:1

作     者:Tod Golding 

I S B N:(纸本) 9780764559884 

出 版 社:Wrox Press Ltd. 

出 版 年:2005年

学科分类:12[管理学] 1201[管理学-管理科学与工程(可授管理学、工学学位)] 08[工学] 

摘      要: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 languages of the .NET platform. This book explores all aspects of the .NET generics implementation, covering everything from fundamental generic concepts, to the elements of generic syntax, to a broader view of how and when you might apply generics. It digs into the details associated with creating and consuming your own generic classes, structures, methods, delegates, and interfaces, examining all the nuances associated with leveraging each of these language constructs. The book also looks at guidelines for working with generic types, the performance gains achieved with generics, the new generic container libraries (BCL and third party), and key aspects of the underlying .NET implementation. For those transitioning from C++, the book provides an in-depth look at the similarities and differences between templates *** generics. It also explores the syntactic variations associated with using generics with each of the .NET languages, including C#, Visual Basic, J#, and C++.

读者评论 与其他读者分享你的观点

用户名:未登录
我的评分