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 wcf c#?
Explain what is copy constructor?
Are attributes inherited c#?
What is definition in c#?
How can we set class to be inherited, but prevent the method from being over-ridden?
What is difference between the "throw" and "throw ex" in .net?
What is difference between comparable and comparator?
What is difference between private and protected in c#?
What is writeline?
Write a short note on interface?
What is difference between asp net and c# net?
if you do have a stack overflow profile.what is your ranking?
What does the initial catalog parameter define in the connection string?
Which namespaces are necessary to create a localized application?
Is c# used for frontend or backend?