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

Can the accessibility of a type member be greater than the accessibility of its containing type?

734


What are the namespace level elements?

672


Structs are largely redundant in c++. Why does c# have them?

994


What is the difference between a variable and a literal?

763


Is array passed by reference in c#?

720


write a c# program add two matrix with input number ?

734


When would you use generics in your code c#?

670


What is array and its types in c#?

697


Which is faster iqueryable or ienumerable?

747


What is default value of bool in c#?

701


Which is faster array or arraylist in c#?

673


Is char * null terminated?

706


What is the difference between list and dictionary in c#?

646


What is a reference type c#?

700


What is c# best for?

700