Explicit Interface Implementation with C#

added by DotNetKicks
4/16/2019 11:19:18 AM

2 Kicks, 279 Views

With C#, interfaces can be implemented implicitly or explicitly. With implicit interface implementations, the members of the interface are public in the class. With explicit implementations, in the class the interface members are not declared as public members and cannot be directly accessed using an instance of the class, but a cast to the interface...