C# 8 Interfaces: Public, Private, and Protected Members

added by DotNetKicks
11/11/2019 5:21:21 PM

218 Views

When taking a closer look at C# 8 interfaces, we come across an interesting change: interface members can have access modifiers - public, private, and protected (and others). Public members are what we are used to. Private members are useful for refactoring default implementations. Protected members may be useful for interface inheritance (but not much else).


0 comments