what is the real use of interface in c#,other than that
multiple inheritance is not possible
Answer Posted / venkatesan
Interface is a contract which declares a method inside and
gives the implementation in different classes using
polymorphism. we cannot create a object to an interface but
we can create a reference for an interface.
| Is This Answer Correct ? | 4 Yes | 0 No |
Post New Answer View All Answers
What is gridview c#?
What are collections in c#?
What is the difference between a function and a method?
What is the difference between the debug class and trace class? Documentation looks the same.
What are the advantages of using assemble language programming?
What is c# and why it is used for?
What is c# windows form application?
Can you declare a class or a struct as constant?
Define using statement in c#?
What is int parse in c#?
Is c# used for any core features of windows vista?
What is sorting in c#?
What does console mean c#?
Is predicate a functional interface?
What is boolean conditions in c#?