但是,当它出现在托管引用类类型的声明部分中时,将其视为该类声明的上下文中的关键字。
However, when it occurs within the declaration portion of a managed reference class type, it is treated as a keyword within the context of that class declaration.
这意味着this关键字可以访问在该上下文中声明的任何对象(包括函数)。
This means the this keyword can then access any objects (including functions) that have been declared at that context.
有关static关键字需要注意一点,它的工作方式与在非静态上下文中的工作方式不同。
One thing to note about the static keyword is that it doesn't work the same as how this works in the nonstatic context.
应用推荐