what is the real use of interface in c#,other than that
multiple inheritance is not possible
Answer Posted / kalaimani
The interface contains only declaration of methods, no implementation. Because the interface is can be inherited by class and struct.
| Is This Answer Correct ? | 21 Yes | 9 No |
Post New Answer View All Answers
What is generic delegates in c#?
Name some properties of thread class.
How do you create empty strings in c#?
What is an xsd file?
If you donot specify an access modifier for a method, what is the default access modifier?
Is dll a library?
Can hashset contain duplicates c#?
Is everything an object c#?
What is the difference between inheritance and abstract class?
What is activator c#?
Define constructor in c#.
Which is faster dictionary or hashtable?
What are floating point numbers?
Is as operator in c#?
What is the difference between field and property in c#?