What is the default access level of a class in C#?
Printable View
What is the default access level of a class in C#?
Depends on where it's declared - if it's immediately within a namespace, then public - inaccessible otherwise. If it's a nested class, then (can't be sure - can test to find out) I'd imagine it would be protected.
Thanks for the reply. I found this thread that seemd ot help so far.. :D