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
Does the system.exception class have any cool features?
What is difference between dictionary and list in c#?
Why do we need serialization?
What is expandoobject in c#?
how encapsulation is implemented in c#
What are properties in c#. Explain with an example?
what is IEquatable
What is Dependency of Injection?
What is the main method in c#?
What is the implicit name of the parameter that gets passed into the set method/property of a class?
What are callback methods in c#?
Can we use "this" command within a static method?
What are the uses of namespaces?
What is private constructor c#?
What does char mean in c#?