Code sample for internal and protected internal in C# | Sololearn: Learn to code for FREE!
¡Nuevo curso! ¡Todo programador debería aprender IA Generativa!
Prueba una lección gratuita
0

Code sample for internal and protected internal in C#

Hi @all, this is new for me. How works in deep this access modifiers(internal, protected internal) on C# a real sample?

1st Apr 2017, 12:20 AM
nextco
nextco - avatar
1 Respuesta
+ 5
internal is used when you want codes to be access only within the dame assembly. Protected is used when you want codes to only be able to be accessable only by it's class/structure..
1st Apr 2017, 3:36 AM
Wen Qin
Wen Qin - avatar