C# Variable Initialization Question

后端 未结 8 930
伪装坚强ぢ
伪装坚强ぢ 2020-12-10 03:25

Is there any difference on whether I initialize an integer variable like:

int i = 0;
int i;

Does the compiler or CLR treat this as the same

8条回答
提交回复
热议问题