12.3.2 Initially unassigned variables
The following categories of variables are classified as initially unassigned:
?Instance variables of initially unassigned struct variables.
?Output parameters, including the this variable of struct instance
constructors.
?Local variables, except those declared in a catch clause, a foreach
statement, or a using statement.
The following categories of variables are classified as initially unassigned:
?Instance variables of initially unassigned struct variables.
?Output parameters, including the this variable of struct instance
constructors.
?Local variables, except those declared in a catch clause, a foreach
statement, or a using statement.
博客介绍了初始未赋值变量的分类,包括初始未赋值结构体变量的实例变量、输出参数(含结构体实例构造函数的this变量),以及除在catch子句、foreach语句或using语句中声明之外的局部变量。
993

被折叠的 条评论
为什么被折叠?



