C# Abstract Classes - What They Are, How to Use Them, and Best Practices

I get asked about abstract classes a lot. What they are, how they work, and why you should know about them. An easy way to think of an abstract class is to s...

C# Abstract Classes - What They Are, How to Use Them, and Best Practices
IAmTimCorey
177.0K views β€’ Aug 13, 2018
C# Abstract Classes - What They Are, How to Use Them, and Best Practices

About this video

I get asked about abstract classes a lot. What they are, how they work, and why you should know about them. An easy way to think of an abstract class is to say that it fits between a full base class and an interface. Basically, it is a blend of the two. In this video, I am going to demonstrate what an abstract class is, how to use it, and when it makes sense to create an abstract class.

Full courses: https://www.iamtimcorey.com/
Source Code: https://www.iamtimcorey.com/downloads/?code=AbstractClasses
Patreon: https://patreon.com/IAmTimCorey
Newsletter signup: https://signup.iamtimcorey.com/

Sponsors:
Tuhafeni Angula (Patreon Subscriber)

0:00 - Intro
0:58 - Demo application walk-through
3:19 - Creating a base Class
5:53 - Making the base class abstract
8:44 - "Interface portion" in the abstract class. The blend of interface and base class
12:56 - Class inheritance in an abstract class
16:00 - When to use an abstract class

Tags and Topics

Browse our collection to discover more content in these categories.

Video Information

Views

177.0K

Likes

4.2K

Duration

19:59

Published

Aug 13, 2018

User Reviews

4.7
(35)
Rate:

Related Trending Topics

LIVE TRENDS

Related trending topics. Click any trend to explore more videos.