Using Generics in C#

Using Generics in C#

English | MP4 | AVC 1280×720 | AAC 48KHz 2ch | 0h 52m | 156 MB

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.

Table of Contents

Introduction
1 Using generics to make your code safer and more valuable
2 What you should know
3 Exercise files

Overview
4 History
5 Problem statement
6 Introducing generics
7 Type scoping
8 Constraints
9 Collections

Architecting in Generics
10 Introduction
11 Service locator
12 Visitor
13 Observer

Conclusion
14 What we learned