Private Modifier :- Private member can access its own/self class.
Protected Modifier :- 1. Protected member can access its own/self class, 2. can access with inheritance in self project/assembly, 3. can access with inheritance in another project/assembly
Internal Modifier :- 1. Internal member can access its own/self class, 2. can access with inheritance in self project/assembly, 3. can access with an instance/object in self project, 4.
No comments:
Post a Comment