Categories
C# / .NET Program Tutorial

C# 7.2 introduced new access modifier – ‘Private Protected’ – How it works?

Before Private Protected C# had 5 access modifier such as public, private, protected, internal, protected internal. As per MSDN Finally, a new compound access modifier: private protected indicates that a member may be accessed by containing class or derived classes that are declared in the same assembly. While protected internal allows access by derived classes […]