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

Do void methods have parameters?

508


What is entity framework in c#?

487


Explain About .NET Framework

539


Why does dllimport not work for me?

579


Between windows authentication and sql server authentication, which one is trusted and which one is untrusted?

501






Explain use of abstract and sealed classes in c#?

465


What is the real use of interface in c#?

476


Why do we need escape characters?

495


What is a hashset c#?

482


How do you mark a method obsolete?

596


What is difference between int and int in c#?

463


Can a constructor be private in c#?

491


What are expressions c#?

490


List down the fundamental oop concepts?

510


What is default method in c#?

507