The static local variable is interesting because the common language runtime (CLR) does not support static variables inside a method.
静态局部变量之所以非常令人感兴趣,是因为公共语言运行库(CLR)不支持方法内的静态变量。
This field will hold the value of the static local variable I in GetMessage.
此字段将在GetMessage中保留静态局部变量i的值。
Extract constant is similar to Extract Local Variable, but you must select a static, constant expression, which the refactoring will convert to a static final constant.
ExtractConstant与ExtractLocal Variable相似,但是您必须选择静态常量表达式,重构工具将会把它转换成静态的final常量。
Given the runtime overhead in using a static local variable, it would be wise for you to avoid the feature in current designs.
由于运行库在使用静态局部变量时有开销,因此您最好避免在当前设计中使用该功能。
A variable structure controller for Static var Compensator (SVC) which can improve power Angle stability of power system and local voltage characteristics of SVC is proposed.
本文提出了能同时改善电力系统功角稳定和装设点电压动态特性的用于静止无功补偿器(svc)的变结构控制器设计方法。
Local static pointer variable is not thread safe?
静态局部变量的指针不是线程安全的?
You can declare a static local variable within a class, that is, inside a procedure in that class.
您可以初始化静态区域变数的值,当做宣告的一部分。
An exception of this type is thrown if a static local variable fails to initialize.
如果静态区域变数无法初始化,会掷回这个型别的例外状况。
An exception of this type is thrown if a static local variable fails to initialize.
如果静态区域变数无法初始化,会掷回这个型别的例外状况。
应用推荐