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 a structure in c#
What is the meaning of 0 in c#?
Can properties be private in c#?
How is a strongly-named assembly different from one that isn’t strongly-named?
When should I use static in C#?
Is post back in c#?
What is null propagation c#?
Why we use get set property in c#?
How do partial classes work in c#?
Is string a data type in c#?
What is the main purpose of delegates in c#?
How many types of collections are there in c#?
Explain About multi level and multiple inheritance how to achieve in .net
What are c# types?
What is multicast delegate explain with example?