what is the purpose of interface in c#.net

Answer Posted / ankit singh

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

Is This Answer Correct ?    6 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is the difference between “finalize” and “finally” methods in c#?

707


Why singleton pattern is used in c#?

724


How to create events for a control? What is custom events? How to create it?

755


What is assembly c#?

670


What is namespace explain with example?

632


Could you explain the difference between func vs action vs predicate?

645


Is concurrent queue thread safe?

696


What is the lock statement in c#?

758


Why to use “finally” block in c#?

767


What is throw in c#?

695


State two different types of access modifiers.

776


What is the benefit of interface in c#?

715


What are the differences between value types and reference types?

805


What is a partial class. Give an example?

713


What is the difference between const and static read-only?

692