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
Interfaces only say what the public methods and properties of a class should be.
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, and
all of the public members were abstract.
0:00
This theoretical abstract
base class would, in essence,
0:03
only define the public interface for
concrete classes that inherit from it.
0:08
This is type abstraction
in its purest form.
0:13
It turns out that C# has
a special language feature
0:16
that allows us to do this.
0:19
It's aptly named an interface, and it's
a subtly powerful feature of the language.
0:21
We'll begin to see why it's so
useful over the next couple of videos.
0:26
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