internal static void PrivateProtected() { var baseClass = new BasePrivateProtected(); baseClass.DoAnything(); var privateProtecedDemo = new InheritedInSameAssembly(); privateProtecedDemo.GetDataFromBase(); }
void DoSomething(BasePrivateProtected basePrivateProtectedClass) { basePrivateProtectedClass.DoAnything(); }