Internal vs. Private Access Modifiers

Jim Fell picture Jim Fell · Sep 28, 2010 · Viewed 183.6k times · Source

What is the difference between the internal and private access modifiers in C#?

Answer

explorer picture explorer · Sep 28, 2010

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).