如果没有充分理由,应避免显式实现接口成员。
Avoid implementing interface members explicitly without having a strong reason to do so.
显式接口实现还允许程序员实现具有相同成员名称的两个接口,并为每个接口成员各提供一个实现。
Explicit interface implementation also allows the programmer to implement two interfaces that have the same member names and give each interface member a separate implementation.
显式接口实现还允许程序员实现具有相同成员名称的两个接口,并为每个接口成员各提供一个实现。
Explicit interface implementation also allows the programmer to implement two interfaces that have the same member names and give each interface member a separate implementation.
应用推荐