Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

lec_4 pag 64 #10

Open
barld opened this issue Mar 21, 2016 · 0 comments
Open

lec_4 pag 64 #10

barld opened this issue Mar 21, 2016 · 0 comments

Comments

@barld
Copy link

barld commented Mar 21, 2016

example in slides of an interface has already an implementation. In C# it is not aloud quote C# reference:

Interfaces Summary
An interface has the following properties:

  • An interface is like an abstract base class. Any class or struct that implements the interface must implement all its members.
  • An interface can't be instantiated directly. Its members are implemented by any class or struct that implements the interface.
  • Interfaces can contain events, indexers, methods, and properties.
  • _Interfaces contain no implementation of methods._
  • A class or struct can implement multiple interfaces. A class can inherit a base class and also implement one or more interfaces.

https://msdn.microsoft.com/en-us/library/ms173156.aspx#Anchor_0

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant