What is marker interface?

Answer Posted / 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       View All Answers


Please Help Members By Posting Answers For Below Questions

What is ac callback?

503


Is array a list?

487


What are extensions in c#?

537


Explain About sn.exe

502


Explain “static” keyword in c#?

481






What is AutoMapper in C#?

580


What is private protected in c#?

500


Is there regular expression (regex) support available to c# developers?

524


What is console application with example?

496


Explain acid rule of thumb for transactions in c#.

524


Differentiate between dataset and datareader?

525


What is global namespace in c#?

482


In a site to turn off cookies for one page which method is followed?

507


Is datetime a value type in c#?

491


Can derived classes have greater accessibility than their base types?

539