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 the difference between const and static read-only?

679


What is Delegate and what is it used for ?

770


what is method overloading in c#?

753


Explain anonymous type in c#?

733


What is int parse in c#?

691


What is a clr host?

725


What is the difference between interface and abstract class in c#?

673


What is the max value of int32 in c#?

665


If you define a user defined data type by using the class keyword, is it a value type or reference type?

706


How Do You Convert A Value-type To A Reference-type?

704


In which way a two-dimensional array declared in C#?

688


how to create crystal reports give one detail example(i want to view age category report) please give suitable example in my small knowledge

1828


How do you serialize in c#?

641


Is c# difficult to learn?

649


What's new in c#?

671