|
|
libcats.org
Professional .NET 2.0 GenericsTod GoldingThe 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 and.NET generics. It also explores the syntactic variations associated with using generics with each of the .NET languages, including C#, Visual Basic, J#, and C++.
Популярные книги за неделю:
Тестирование Дот Ком, или Пособие по жестокому обращению с багами в интернет-стартапахАвтор: Роман Савин
Размер книги: 5.26 Mb
Система упражнений по развитию способностей человека (Практическое пособие)Автор: Петров Аркадий НаумовичКатегория: Путь к себе
Размер книги: 818 Kb
Сотворение мира (3-х томник)Автор: Петров Аркадий НаумовичКатегория: Путь к себе
Размер книги: 817 Kb
Только что пользователи скачали эти книги:
Вращающийся дисковый электрод с кольцомАвтор: Тарасевич М.Р., Автор: Хрущева Е.И., Автор: Филиновский В.Ю.Категория: Электрохимия
Размер книги: 17.25 Mb
macromolecules containg metal and metal-like elements (boron-containing polymersАвтор: Alaa S. Abd-El-Aziz, Автор: Charles E. Carraher, Автор: Charles U. Pittman, Автор: Martel ZeldinКатегория: Chemistry
Размер книги: 2.26 Mb
Drama and Curriculum: A Giant at the DoorАвтор: John O'Toole, Автор: Madonna Stinson, Автор: Tiina MooreКатегория: artbook
Размер книги: 1.97 Mb
Макроскопические свойства микронеоднородных материалов: Учебное пособиеАвтор: Иванищева О.И., Автор: Семыкина Т.Д., Автор: Щеглова Ю.Д.Категория: Механика
Размер книги: 168 Kb
The Renegade Hunter: A Rogue Hunter Novel (Rogue Hunter #3 and Argeneau #12)Автор: Lynsay Sands
Размер книги: 1.00 Mb
Advances in Heat Transfer, Volume 26Автор: James P. Hartnett †, Автор: Thomas F. Irvine, Автор: Young I. Cho, Автор: George A. GreeneКатегория: Наука (общее)
Размер книги: 14.93 Mb
Categorial Grammar: Logical Syntax, Semantics, and ProcessingАвтор: Glyn Morrill
Размер книги: 1.12 Mb
|
|
|