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 is difference between gridview and form view?
List down the commonly used types of exceptions in .net
What is difference between write and writeline in c#?
Difference between value and reference type. What are value types and reference types?
Describe two uses of the “using” statement during the operation of c#?
How will you allow a class to be inherited, but prevent the method from being over-ridden?
Can bool be null c#?
What is default access modifier for class in c#?
What is parallel programming in c#?
Why do we need to override in c#?
What is arraylist class in c#?
What are the value types in c#?
Explain the types of assemblies in .net?
What is the difference between static class and abstract class in c#?
How can I get around scope problems in a try/catch?