What is marker interface?



What is marker interface?..

Answer / lagnajeet sahu

The marker interface is an interface that is empty. It does
not implement any properties nor methods. It is used to mark
the capability of a class as implementing a specific
interface at run-time. In languages that do not provide
support for associating metadata to a class, this approach
can be useful.

Is This Answer Correct ?    6 Yes 0 No

Post New Answer

More C Sharp Interview Questions

What is a resource? Provide an example from your recent project.

2 Answers   IBM, Logica CMG, Wipro,


What is parameter c#?

0 Answers  


What is a hash table c#?

0 Answers  


How to implement a singleton design pattern in c#?

0 Answers  


What is the purpose of namespace in c#?

0 Answers  






What is an int c#?

0 Answers  


What is a system lock?

0 Answers   KEN Group, Wipro,


Why is it called c sharp?

0 Answers  


What is difference between string and stringbuffer in c#?

0 Answers  


What is a method signature?

0 Answers  


What is difference between dll and exe in c#?

0 Answers  


What is the difference between int and int in c#?

0 Answers  


Categories