What's the difference between 'int?' and 'int' in C#?

后端 未结 7 1158
甜味超标
甜味超标 2020-12-02 17:44

I am 90% sure I saw this answer on stackoverflow before, in fact I had never seen the \"int?\" syntax before seeing it here, but no matter how I search I can\'t find the pre

相关标签:
7条回答
  • 2020-12-02 18:47

    int? is shorthand for Nullable<int>.

    This may be the post you were looking for.

    0 讨论(0)
提交回复
热议问题