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

How to customize the trace output?

554


Explain when should you use .net web forms over asp.net mvc?

510


What is lazy initialization?

588


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

548


Is .net core managed code?

522






State the differences between the dispose() and finalize().

596


What are .net applications?

540


Explain what is heap and what is stack?

613


Differentiate between managed and unmanaged code?

611


Do you know what are three common acronyms used in .net, and what do they stand for?

561


Tell us what is a sealed class?

549


Why is .net used?

555


What is dot net and its uses?

546


What is msil, il?

600


Explain the difference between task and thread in .net?

517