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

Answer Posted / ankita

In the phase of interfaces we can only declare methods. and
this method can contain its definition in the different
classes where we can define it.........

Is This Answer Correct ?    1 Yes 6 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What all details the assembly manifest will contain?

527


Is everything an object c#?

576


What is meant by clr?

648


What is tryparse?

621


What is the difference between select and selectmany?

518






What is meant by unicode characters?

646


What are regular expressions? Search a string using regular expressions?

597


What is the differences between datagrid, datalist and repeater in .net?

568


Explain the difference between and xml documentation tag?

582


What is hashtable c#?

544


Is c# code is managed or unmanaged code?

571


What is strongly typed view?

586


What is a private method in c#?

591


What does return do in unity?

601


What are cshtml files?

568