what is the real use of interface in c#,other than that
multiple inheritance is not possible

Answer Posted / ravindarjobs

have a look at this link

http://msdn2.microsoft.com/en-us/library/3b5b8ezk.aspx

Is This Answer Correct ?    10 Yes 17 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

How can I process command-line arguments?

530


Why data types are important?

528


What is extended class in c#?

476


What is the purpose of dependency injection?

479


What is the difference between int.parse and int.tryparse methods?

568






Explain how can I get around scope problems in a try/catch?

486


What is use of a HashTable in .NET?

703


Why do we use generics in c#?

541


What is the base class in .net from which all the classes are derived from?

508


How do I create a multi language, multi file assembly?

624


Does unity use c++ or c#?

493


What is expression tree with example?

489


How long has c# been around?

567


What is icomparer in c#?

491


Can we create instance of private class in c#?

504