Dhanik Sahni
Q. What is purpose of marker interface ? Do we really need in c# ?
By Dhanik Sahni in .NET on Oct 13 2015
  • Dhanik Sahni
    Oct, 2015 13

    Marker interfaces:1. are a bit easier to check for using dynamic type checks (´obj is IMarker´) 2. allow for functional and data extensibility in the future (i.e. turning a “marker” interface into a “full” interface that actually declares some members) 3.can be used in generic type constraints;

    • 0


Most Popular Job Functions


MOST LIKED QUESTIONS