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
How can I get the ascii code for a character in c#?
Explain the difference between boxing and unboxing.
What is type cast in C#?
What are custom exceptions?
What is a string c#?
What is the major difference between a custom control and user control?
What do you mean by serialization in .NET?
What are the differences between static, public and void in c#?
Define clr in .net?
Is it possible to restrict the scope of a field/method of a class to the classes in the same namespace?
What is inheritance in csharp?
Which class comes after the SortedList class?
What is .edmx file?
What is difference between hashtable and dictionary in c#?
If a child class instance is created, which class constructor is called first - base class or child class?