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 a hash table c#?
What is escape sequence in c#?
why delegate is type safe?
How can I create a process that is running a supplied native executable (e.g., Cmd.exe)?
What is the difference between dll and lib?
What is an escape sequence in c#?
What is overriding in c#?
Can struct have constructor c#?
How to override a function in c#?
Can a struct inherit from an interface in c#?
Does c# do array bounds checking?
What is the use of partial methods?
What is difference between write and writeline in c#?
Give examples for value types?
Different between method overriding and method overloading?