Quantcast
Viewing all articles
Browse latest Browse all 9

Answer by Brian Rasmussen for internal vs public in c#

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.


Viewing all articles
Browse latest Browse all 9

Trending Articles