标签:nal cte ora tin bsp make bit private instance
ACCESS MODIFIERS
c# has some access modifiers below:
public:class or member can be accessed by no restrictions
private:members can only be accessed within the class itself
internal:class or member can only be accessed within the assembly,not others.
protected:members can only be accessed by derived class(or within the class of course), not others non-derived class.
protected internal: members can only be accessed by derived class, OR, in the same assembly.
NOTE:
Modifiers and Static
Can not use override,virtual or abstract on a static member, cause these are for instance of inheriting
Size of basic types
type | size(byte) | size(bit) | Range |
char | 2 | 16 | |
char | |||
char | |||
char |
标签:nal cte ora tin bsp make bit private instance
原文地址:http://www.cnblogs.com/lwhkdash/p/6713746.html