官术网_书友最值得收藏!

Null type

Nullable types are nothing but an instance of the System.Nullable<T> struct. The nullable type contains the same data range as that of its ValueType but with addition to a null value. Refer to the data type table where int has a range of 2147483648 to 2147483647 but System.Nullable<int> or int? has the same range in addition to null. This means you can do this: int? nullableNum = null;.

For more detail on nullable types, refer to https://docs.microsoft.com/en-us/dotnet/csharp/programming-guide/nullable-types/.

主站蜘蛛池模板: 鹤壁市| 濮阳县| 喜德县| 新兴县| 图木舒克市| 合江县| 宜兰县| 大化| 阿拉善右旗| 淮阳县| 开封市| 安阳市| 吉安县| 揭阳市| 东兴市| 湖北省| 丰城市| 连城县| 汝城县| 庆元县| 台南市| 麻城市| 仙游县| 新竹县| 三门峡市| 上饶县| 临潭县| 梅州市| 米林县| 临邑县| 屏东市| 锡林郭勒盟| 萨迦县| 竹山县| 体育| 皮山县| 民县| 万源市| 东台市| 平湖市| 道孚县|