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
Why to use “finally” block in c#?
Which language is used for desktop application?
What is the use of ispostback in c#?
What is a bool in c#?
What is the difference between method parameters and method arguments. Give an example?
What is the use of nullable types in c#?
Define multicast delegate in c#?
Can int be null in c#?
What are partial types in c#?
What is the use of readkey in c#?
What is console based application?
What can we do to handle multiple exceptions?
What are access modifiers used for?
Where’s global assembly cache located on the system?
What is unsigned int?