Converting int to int? possible update?

后端 未结 0 1092
[愿得一人]
[愿得一人] 2020-12-04 01:52

I built my project locally and it worked with a code similar to the following:

bool success = true;
int y = 0;
int? x = success ? y : null;

B

相关标签:
回答
  • 消灭零回复
提交回复
热议问题