What is the point of writing an interface without members ?
INamingContainer is one example in .NET Framework. And it's described in MSDN as :
Identifies a container control that creates a new ID namespace within a Page object's control hierarchy. This is a marker interface only.
Is it used for just this kind of blocks :
if (myControl is INamingContainer)
{
// do something
}
Or are there other advantages of it ?
EDIT : It was called Marker Interface Pattern (thanks Preet)