what is the real use of interface in c#,other than that
multiple inheritance is not possible
Answer Posted / siddu.
Interfaces are used to define common functionality among the
child classes or struts.
Interfaces can be used to implement some rules on the
derived classes or struts.
Interface are used to hold object of a class which derives
it in client machine in case of remoting.
| Is This Answer Correct ? | 7 Yes | 5 No |
Post New Answer View All Answers
What are namespaces, and how they are used?
How many types of interface are there in c#?
What are verbatim strings in c#?
Why generics are used?
What are the two uses of a ‘using’ statement in c#?
What is default class in c#?
What is the difference between a class and an object c#?
In C#, explain the difference between overloading and overriding.
What are the fundamental oop concepts?
Why do we need constructors?
What is bit in c#?
What is a data set in c#?
How to force my .net app to run as administrator on windows 7?
Are classes passed by reference in c#?
What is the difference between arraylist and list in c#?