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

Answer Posted / satyaprakash reddy

c#.net will not support multiple inheritence to overcome
these problems we use interfaces,
actually c# is faces some problems while go through the
garbage collection and interfaces are better according to
performance

Is This Answer Correct ?    21 Yes 33 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Explain what a diffgram, and a good use for one Define diffgram? How it be used?

549


Is it possible to have a static indexer in c#?

546


Are structs faster than classes?

539


What is nullable types in c#?

502


What is a verbatim string literal and why do we use it?

480






What are interfaces in c#?

518


What is the difference between out and ref in c#?

483


Can you drink alcohol with a loop recorder?

495


What is serialization in .net?

566


What does get set mean in c#?

495


What are Uses of CLR

535


What are the benefits of using the aggregate method in linq?

505


How do you sort a list in c#?

496


Explain use of abstract and sealed classes in c#?

461


How do I start a program in c#?

491