现在,main方法运行时,输出如清单6所示。
Now, when the main method runs, the output looks like that in Listing 6.
在事件处理程序的方法运行时,调用堆栈上不需要有将事件处理程序添加到事件的代码。
Code that adds an event handler to an event is not necessarily present on the call stack when the event handler's methods run.
与您可能假设的情况相反,即时优化不在创建实例时或方法运行时发生,而是在定义类的作用域内发生。
Contrary to what you might assume, just-in-time does not happen when an instance is created, or methods run, but rather in the scope where the class is defined.
In general, when we wanna talk about running time, we just need a silly place holder, so we'll call it T for time.
一般情况下,当我们讨论运行时间时,需要一种表示方法,这里T表示时间。
应用推荐