View On GitHub
reading-notes
Reading Notes for Codefellows!
Project maintained by
AlanYHung
Hosted on GitHub Pages — Theme by
mattgraham
Code 401 ASP.NET
Reading 07
(All My Notes are attributed/sourced from the Resources directly preceding them.)
Summary
An interface is similar to an abstract class where every member of the class is abstract and cannot be instantiated.
This means that it will tell it’s children everything that must be implemented.
Unlike abstract classes though, you can implement an abstract class and multiple interfaces at the same time.
Interfaces can be members of both namespaces and classes
Interfaces are meant to be a set of guidelines/rules/roadmap for how other classes are setup.
Resources
Interfaces (C# Programming Guide)
Author: Microsoft Docs
Article Source
What is an Interface?
Author: John Sonmez
Article Source
interface (C# Reference)
Author: Microsoft Docs
Article Source
<– Back