what is the purpose of interface in c#.net




Answers were Sorted based on User's Feedback



what is the purpose of interface in c#.net..

Answer / sushil

To Achieve Multiple Inheritance

Is This Answer Correct ?    13 Yes 0 No

what is the purpose of interface in c#.net..

Answer / prince1987

To Providing control on the Classes

Is This Answer Correct ?    12 Yes 4 No

what is the purpose of interface in c#.net..

Answer / ankit singh

The main purpose of the interface is implement multiple
inheritance in .net

Is This Answer Correct ?    6 Yes 0 No




what is the purpose of interface in c#.net..

Answer / 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

what is the purpose of interface in c#.net..

Answer / n/a

The main purpose of the interface is to decsribe related
functionality that can belong to any class.

Is This Answer Correct ?    6 Yes 4 No

what is the purpose of interface in c#.net..

Answer / mayur teli

Basic purpose is to use the defined structure/pattern of common implementation on the child location.
In other word we can say that when multiple people are working on same project if they need to use some common functionality (like initializing variables for their module) instead of writing their own method name(like init(), initialize(), setup()) if we write single method name (lets say init) then this method name can be implemented by any developer who derived....
and use to achieve multiple inheritance.

Is This Answer Correct ?    2 Yes 2 No

Post New Answer



More C Sharp Interview Questions

from web.config file with connection string who to interact means who to connect in gridview. in my system shows null something error what is the problem

3 Answers   Bally Technologies,


What r collections c sharp?

3 Answers  


what is accessspecifier and explation each with example?

3 Answers  


Hi Friends, I am going through Siemens Interview Procedure from last 1+1/2 months. I went through 1 written + 2 Technical + 1 Managerial Round process after which I got call from HR informing that "you are selected and we would like to meet you for HR round". HR round was very nominal compared to MR. HR Round last for hardly 5 mins. They told me that you will get the final result on Friday. Still I have not received any feedback from them. Please help!!!

0 Answers   Siemens,


What is the Difference between value and reference type?

12 Answers   Wipro,






how to handle errors in sqlserver

1 Answers  


What are Generics?

5 Answers   TCS,


Where is the output of TextWriterTraceListener redirected?

1 Answers  


What namespaces are necessary to create a localized application?

2 Answers   Visual Soft,


how to insert the data from the grid view to database table though button click.pls send the answer to mail id suri1319@gmail.com

0 Answers  


Can you allow class to be inherited, but prevent the method from being over-ridden?

2 Answers   Mind Tree,


What is the difference between protected and protected internal?

5 Answers   Fulcrum Logic,






Categories