Автор: Robby Millsap
Издательство: Lynda
Год: 2018
Видео: H264 MP4 AVC, 1280x720
Аудио: AAC 48000 KHz 2 Ch
Продолжительность: 00:52:17
Размер: 152,6 mb
Язык: English
Generics were introduced to C# 2.0 in 2005. They allow programmers to write general-purpose code that is type safe, without writing a tedious amount of type-specific data structures. Similar to C++ templates, generics reduce the amount of type checking required to build reusable code and make you a much more productive C# programmer. This course is designed to introduce the beginning programmer to the concept of generics and show how to use them for greater reusability in popular design patterns. Instructor Robby Millsap covers the history and purpose of generics, as well as concepts such as type scoping, constraints, and collections. In chapter two, he demonstrates how to incorporate generics into actual architecture, following design patterns such as service locator, visitor, and observer.