Default Access Modifier is Internal Not Public!

  • Thread starter Richard Coltrane
  • Start date
R

Richard Coltrane

Hi there,

The docs say that default access modifier is internal. My own experience has
been that it is internal. And yet almost every website Ive seen on the web
tries to tell me its public?? Am I insane?

I dont have VS2003 installed only 2005. Is this a 1.1 thing?

Thanks

Richard
 
J

Jon Skeet [C# MVP]

Richard Coltrane said:
The docs say that default access modifier is internal.

For what? For a top-level type, yes, it's internal.
My own experience has
been that it is internal. And yet almost every website Ive seen on the web
tries to tell me its public?? Am I insane?

Well, it would help if you could post links to some of those websites.
I can't remember ever seeing it being incorrectly stated, although I
dare say there are plenty of incorrect sites around.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top