privateinternal
Privateinternal is a term used to describe a combined access modifier in some programming languages, notably seen in C# as private internal. It represents a hybrid visibility level that blends elements of private and internal access. In languages that support such combinations, privateinternal is intended to restrict access more than internal alone while not granting the full restriction of private. The exact rules can vary by language version and compiler, so the precise scope is defined by the language specification or implementation.
In practical terms, a member declared as privateinternal is generally intended to be accessible only within
Syntax and usage notes: In C#, the combination is often written as private internal (both modifiers applied
See also: access modifiers, private, internal, protected internal, private protected, C# language specification.