Heads up! To view this whole video, sign in with your Courses account or enroll in your free 7-day trial. Sign In Enroll
Well done!
You have completed Intermediate C#!
You have completed Intermediate C#!
Preview
Abstract classes appear to be more powerful than interfaces, but interfaces have a very specific and useful purpose.
This video doesn't have any notes.
Related Discussions
Have questions about this video? Start a discussion with the community and Treehouse staff.
Sign upRelated Discussions
Have questions about this video? Start a discussion with the community and Treehouse staff.
Sign up
protected members, that some classes must
have and they can also contain code.
0:00
Interfaces on the other hand can only
declare the public members that subclasses
0:05
must have and that's it.
0:09
It's easy to see why we want to use
abstract base classes, but why interfaces?
0:11
Let's explore why interfaces are so
useful in C#.
0:18
You may think that interfaces
are more restrictive versions of
0:22
abstract base classes, but in fact,
they serve different purposes.
0:25
You need to sign up for Treehouse in order to download course files.
Sign upYou need to sign up for Treehouse in order to set up Workspace
Sign up