internal
is also useful when writing unit tests. The InternalsVisibleTo
attribute let's your test assembly access internal methods in your code assembly. I.e. you can test methods that appear private to the outside world without using reflection.
↧
Answer by Brian Rasmussen for internal vs public in c#
↧