blah blah blah is here! blah blah » Close

up0down
link

Plz. ans. this anyone out there.

last answered 2 years ago

1 answers

up0down
link

Briefly - the same thing as in other languages.
Interface declares which methods (or properties) are available for you if use object implementing the interface.
If you implement the interface, compiler check if you have implemented all methods (properties) from the interface.
Interfaces allows you rely on object's functionality (messages you can send to it) rather than on a object's type. If you use interfaces, you can also avoid inheritance, which has not to be necessary the best approach.

This post was imported from csharpfriends, if you have a similiar question please ask it again.

All previous members have been migrated, hope you enjoy the new platform!

Feedback