can we create an empty interface with no definitions? If
so, how it should be called in the class?

Answer Posted / bindu sharma

Yes we can create an empty interface.Empty interface is
called a marker interface.It is used by Comiler so we don't
need to call it explicitly.As there is no method in marker
interface,So we don't need to call it.

Is This Answer Correct ?    8 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is tryparse c#?

480


What is array formula?

452


How does bitwise work?

492


Explain dataadapter.update method in .net?

504


What are modifiers in c#?

462






Give an example of a ctype.

550


What is difference between const and static in c#?

480


Is javascript harder than c#?

500


What is marshalling in c#?

472


What is the difference between array and arraylist c#?

450


What is the correct way of declaring an xml namespace?

461


Is lazy thread safe c#?

493


What are the types of comment in c# with examples?

471


What is the difference between finalize() and dispose()?

485


What is mean by c#?

471