Because the scope operator makes no difference between classes and namespaces people tend to think, that classes are like namespaces. But this is not true, as
- classes can not nest further namespaces, only further classes
- classes can not be imported by a using decleration
- classes can not be reopenend
- classes have access rights
No comments:
Post a Comment