- Private,protected,public and Internal
- Private: Is completely private, only this class can use [like their own wife, only you can call, others can not ]
- Protected: Can be seen by the outside, but can not be called, only this class and subclasses can call (properties and methods can be called by the Class) [like Dad's Purse, will only use or inherit to his son, just can't give others ].
- Private and protected in common: neither can be accessed by the outside world
- Publlic: Fully open to any class and member [like a public telephone, anyone can use ]
- Internal: Within the same application set (a project in Vs.net, where the project refers to a separate project, not the entire solution) can access the class [like a company phone, only used by company insiders ]
- Protected internal: can only be accessed in the consent application set of this class and derived classes [ only persons within the company and subsidiaries of the company may use ]
- Public and internal differences: Members of the former can be accessed across assemblies, internal not. But in the same application set, the two have the same effect.
- Sealed,new,virtual,abstract and override
C # Basic Knowledge Comparison (object oriented)