Introduction
Difficulty
Intermediate
Duration
15m
Students
115
Ratings
4.4/5
Description

In this C# Generics course, we will start with an overview of generics, then look at the syntax of generics and what options are available to you. Finally, we'll go through some common use case scenarios and see how to use generics practically.

Learning Objectives

  • Learn what C# generics are
  • Learn the syntax of generics and how to implement them
  • See how to apply generics to streamline code

Intended Audience

Those who have a general understanding of C# object-oriented concepts and want to take their coding beyond the basics of treating class types as simple variables.

Prerequisites

To get the most from this course, you should be familiar with C# data types and have a basic understanding of object-oriented principles. The following courses are recommended:

To follow along, you'll need a working development environment, either VS Code or Visual Studio. The source for the demo can be found at github.com/cloudacademy/csharp-generics.

Transcript

Hi and welcome to this course on C# Generics. In this course, we will start with an overview of generics; by putting them into a historical context and seeing how they can improve code. Then we'll look at the syntax of generics and what options are available to you. Finally, we'll go through some common use case scenarios and see how to use generics practically. This course is aimed at those who have a general understanding of C# object-oriented concepts and want to take their coding beyond the basics of treating class types as simple variables.

To get the most out of this course, you should be familiar with C# data types and have a basic understanding of object-oriented principles.  I recommend completing the C# Data Types and Variables, and Introduction to Object Orientation and C# Classes courses, if you aren't familiar with these topics. To follow along, you'll need a working development environment, either VS Code or Visual Studio. The source for the demo can be found at github.com/cloudacademy/csharp-generics.

My name is Hallam Webber, and I'll be your instructor for this course. When I created this course, all information was current. If you have any feedback, positive or negative, or if you notice anything that needs to be updated or corrected, please reach out to us at support@cloudacademy.com.

Let's start by looking at the issues that generics address.

About the Author
Students
21047
Courses
72
Learning Paths
14

Hallam is a software architect with over 20 years experience across a wide range of industries. He began his software career as a  Delphi/Interbase disciple but changed his allegiance to Microsoft with its deep and broad ecosystem. While Hallam has designed and crafted custom software utilizing web, mobile and desktop technologies, good quality reliable data is the key to a successful solution. The challenge of quickly turning data into useful information for digestion by humans and machines has led Hallam to specialize in database design and process automation. Showing customers how leverage new technology to change and improve their business processes is one of the key drivers keeping Hallam coming back to the keyboard. 

Covered Topics