principlecsharpCritical
Internal vs. Private Access Modifiers
Viewed 0 times
privatemodifiersinternalaccess
Problem
What is the difference between the
internal and private access modifiers in C#?Solution
internal is for assembly scope (i.e. only accessible from code in the same .exe or .dll)
private is for class scope (i.e. accessible only from code in the same class).
private is for class scope (i.e. accessible only from code in the same class).
Context
Stack Overflow Q#3813485, score: 621
Revisions (0)
No revisions yet.