What is an Interface? Have you ever developed an Interface.

Answer Posted / kinjal

interface is reference type and contain only abstract member.
interface member can be Methods ,events, properties and indexer. but interface contain only declaration of members.
interface can't contain constant ,data field, constructor ,static members, destructors.

Is This Answer Correct ?    8 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What are the different types of remote object creation mode in .net?

579


What is "microsoft intermediate language" (msil)?

527


What is garbage collection and how it works. Provide a code example of how you can enforce garbage collection in .net?

519


Is .net core stable?

497


Explain what do the terms “boxing” and “unboxing” mean?

578






What is garbage collection? Explain the difference between garbage collections in .net 4.0 and earlier versions?

713


What is COM Interoperability in .NET

645


When a Static Constructor called in .NET?

614


What is Polymorphism? How does VB.NET/C# achieve polymorphism?

2478


Please explain what inheritance is, and why it's important?

563


How to view a .NET assembly?

608


Why do we use msmq?

603


Is .net core free?

577


Explain how to produce an assembly?

584


What is an interface and what is an abstract class? Please, expand by examples of using both. Explain why?

562