what is the purpose of interface in c#.net

Answer Posted / vai bhav

Basicalluy interface is used in any oops supported langusge
like c#.net to overcome the problem of multiple inheritance
i.e. inheriting more than one classes which have same
function also.

Is This Answer Correct ?    4 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Write a program in C# for checking a given number is PRIME or not.

725


What are nested classes in c#?

626


Define constructor in c#.

591


What is monitor in C#?

678


Why dictionary is used in c#?

615






What is an escape sequence in c#?

615


In the page load event I assigned dropdownlist’s datasource property to a valid list. On the submit button click.. The same datasource property is coming as null. Why?

561


is it possible to access a remote web service Without UDDI?

642


What does convert toint32 mean?

592


What is an object pool in .net?

735


What is dataset c#?

588


What is writeline?

566


What does a constructor do c#?

570


Why is c# used?

560


How can I produce an assembly?

704