Jacob N. Rohde <di***********@hotmail.com> wrote:
I was under the assumption that the default type access modifier for
classes/structs is internal. But the MCAD Study Guide (from MS even) says
public?!?! (The Dr. GUI .NET tutorial from MS's site says internal!!)
So which source from MS do I believe? It is internal is it not?
It's internal, or private for nested classes, according to the spec. To
test out the practice, just compile a small class and look at the
resulting assembly with ildasm or Lutz Roeder's Reflector.
--
Jon Skeet - <sk***@pobox.com>
http://www.pobox.com/~skeet
If replying to the group, please do not mail me too