public interface IBox
{
IBox id { get; }
}
I am trying to understand the intention of IBox id here when the interface is implemented on a class.
Why is IBox id used here? From my understanding of interface, it lists the design requirement for the class. However, IBox id is within IBox itself. What are the possible uses of a class created with IBox interface implemented?
I tried to create a class with the IBox interface.
public class Box : IBox
{
public IBox id { get;}
}
What can be achieved by doing this?