YoVDO

Using Generics in C#

Offered By: LinkedIn Learning

Tags

C# Courses Generics Courses Observer Pattern Courses Design Patterns Courses Code Reusability Courses Type Safety Courses

Course Description

Overview

Gain an understanding of interfaces and generics in C#, learn how to implement them, and find out how to resolve conflicts between interfaces.

Syllabus

Introduction
  • Learning C#: Interfaces and generics
  • What you should know
  • Setting up the environment
1. Overview
  • What are interfaces?
  • What are generics?
2. C# Interfaces
  • Understanding C# interfaces
  • Defining and implementing an interface
  • Interfaces and casting
  • Implementing multiple interfaces
  • Using explicit interface implementation
  • Using .NET-defined interfaces
  • Challenge: Programming C# interfaces
  • Solution: Programming C# interfaces
3. C# Generics
  • The benefits of generics
  • Generic list collections
  • Queue and stack
  • Dictionary
  • Challenge: Programming C# generics
  • Solution: Programming C# generics
Conclusion
  • Next steps

Taught by

Robby Millsap

Related Courses

Functional Program Design in Scala
École Polytechnique Fédérale de Lausanne via Coursera
C# Scripting in Unity: The Observer Pattern
Pluralsight
C# Design Patterns: Part 1 (2016)
LinkedIn Learning
C# Design Patterns: Part 2
LinkedIn Learning
Java EE: Design Patterns and Architecture
LinkedIn Learning