Special offers now — see discounted courses.
day
:
hour
:
min
:
sec
See special offers
C#: Interfaces and Generics

C#: Interfaces and Generics

1h 21mIntermediate2023-12-13

Authors

Joe Marini

Joe Marini

Senior Developer Advocate at Google, Developer

Course details

Are you looking for ways to level up your C# coding? In this course, programming expert Joe Marini guides you through how to use interfaces and generics in C#. Joe explains that interfaces and generics both are used to construct flexible classes. He walks you through how to define and implement an interface, how to use an interface when casting one C# class to another type, how to implement more than one interface for a C# class, and more. Joe describes how interfaces keep your code nimble, compact, and efficient, while generics are used to create code that is more maintainable and easier to read. Joe shows you how to use C# list generics to create type-save lists of objects. He also covers how to use the generic versions of the queue and stack data structures, as well as how to use the generic versions of the queue and stack data structures. Interfaces and generics make your C# projects easier to build and scale, with fewer bugs and performance issues along the way.

Skills covered

C#LearningProgramming LanguagesMicrosoftSoftware Development

Concepts

0. Introduction

  • 01 - Learning C# - Interfaces and generics
  • 02 - What you should know
  • 03 - Setting up the environment

1. Overview

  • 04 - What are interfaces
  • 05 - What are generics

2. C# Interfaces

  • 06 - Understanding C# interfaces
  • 07 - Defining and implementing an interface
  • 08 - Interfaces and casting
  • 09 - Implementing multiple interfaces
  • 10 - Using explicit interface implementation
  • 11 - Using .NET-defined interfaces
  • 12 - Challenge - Programming C# interfaces
  • 13 - Solution - Programming C# interfaces

3. C# Generics

  • 14 - The benefits of generics
  • 15 - Generic list collections
  • 16 - Queue and stack
  • 17 - Dictionary
  • 18 - Challenge - Programming C# generics
  • 19 - Solution - Programming C# generics

Conclusion

  • 20 - Next steps

About us

LyndaKade is a leading learning platform that helps people learn business, software, technology, and creative skills to achieve personal and professional goals.

Phone numberAparat ChannelTelegram SupportTelegram ChannelInstagram Page

All rights to this site belong to LyndaKade.

Terms of Service|Privacy Policy

نماد الکترونیک enamad در صورت اتصال با آی‌پی داخل کشور، نمایش داده خواهد شد.
logo-samandehi - لوگو ساماندهی
Zarinpal
Zibal