What is the advantage of using C#Interface?

Asked

Viewed 58 times

1

Is there a specific scenario for using Interfaces ? If so, how can I know when to use?

I’ve always wanted to use in the projects I’ve been creating, but I never know the right time.

I know that it ensures that all methods stated in it have to be implemented in the classes that have the signature of this interface.

  • 1

    @bigown, I had not seen that there was already a question similar to mine I will read the same and see if it is what I am looking for. Thank you

  • I am particularly proud of the answer I gave here: https://answall.com/questions/160052/qual%C3%A9-a-lead-to-use-an-interface-I-always-can-do-same-lock/160060#160060 :-)

No answers

Browser other questions tagged

You are not signed in. Login or sign up in order to post.