Code sample for internal and protected internal in C# | Sololearn: Learn to code for FREE!
Nouvelle formation ! Tous les codeurs devraient apprendre l'IA générative !
Essayez une leçon gratuite
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 Réponse
+ 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