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

Perfect Example Of While And Do-While Loop In C#.Net ?

572


What are the types of delegates in c#?

473


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

482


What are c# i/o classes?

569


What is dll in vb.net?

484






How big is int16?

520


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

472


What is the difference between Singleton design pattern and Factory design pattern?

554


What are generics in c#.net?

608


Why do we need a singleton class?

508


What is an inheritance ?Give an example in which inheritance is used?

528


What are Namespaces?

561


Can struct be static in c#?

512


Why do we need indexer in c#?

546


Can I call a virtual method from a constructor/destructor?

483