I want to know the difference between the public
and internal
visibility modifiers.
When should we use internal
on a class and when public
? I am confused with when a method should be public
or internal
.
I read that internal
can be accessed through the Assembly, while public
can also be used through the assembly where the difference lies.