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

What is double c#?

509


What is the difference between finalize() and dispose()?

474


Why do we use readonly in c#?

470


What is an xsd file?

484


What is reflection in c#?

476






How do generics work in c#?

461


How do you create user defined data types in c#?

504


Can extension methods access private members?

496


Explain nullable types in c#?

520


What is a hash table c#?

457


Is int a class in c#?

478


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

520


what is main function of alternate teamplate of datalist?

1618


What is asynccallback c#?

500


How do I port "synchronized" functions from visual j++ to c#?

467