Answer Posted / mohit jethva
1. Interface is use for follow the some coding standard
2. If we create interface then each and every devloper has
to implement all the methods.
3. For e.g. If we are creating application for Vichele then
we need to create one interface for two wheeler and one
interface for four wheeler. When any of devloper is going
to extend it then he/she has to implement every method like
Break , Gear , Liver etc....
4. Force to implement all the methods from interface.
5. Multiple inheritance.
Is This Answer Correct ? | 1 Yes | 0 No |
Post New Answer View All Answers
What are the advantages of constructor?
Are c# tuples immutable?
What is the difference between the debug class and trace class? Documentation looks the same.
What is the benefit of using interface in c#?
What is assembly version series sequence?
What is the meaning of int parse in c#?
What is type safe in c#?
What is the difference between writeline and write in c#?
What is an extension method in c#?
How can I get around scope problems in a try/catch?
What are the three types of predicates?
What is clr namespace?
Is c# strongly typed?
Describe the parts of assembly.
Can I use exceptions in c#?