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

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/.

主站蜘蛛池模板: 玉溪市| 宁明县| 钟山县| 呼伦贝尔市| 阳东县| 神木县| 南乐县| 绍兴市| 沂源县| 冀州市| 仲巴县| 马山县| 高州市| 西峡县| 泰和县| 湖南省| 平凉市| 玉林市| 芷江| 姚安县| 理塘县| 平果县| 罗田县| 赞皇县| 拉孜县| 平凉市| 墨竹工卡县| 淄博市| 枣强县| 山东| 绿春县| 泗水县| 涡阳县| 北宁市| 宁南县| 泰安市| 乐亭县| 江安县| 大洼县| 成都市| 长沙县|