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 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:
Source Code:
Patreon:   / iamtimcorey   Newsletter signup:
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

Смотрите также