問題文
A record is declared inside an interface so that the two live together. What is true about that declaration?
選択肢
- The record has to be declared public, because a member of an interface is unable to carry a narrower access level than the interface itself
- The record is unable to implement the interface that contains it, because a type is not allowed to depend on its own enclosing declaration
- The record is implicitly static, so it needs no instance of the interface and is used through the name of the interface itself
- The record is an inner type of the interface, so an instance of it belongs to an implementation of that interface