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

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

主站蜘蛛池模板: 家居| 蕉岭县| 仁怀市| 庆元县| 津市市| 滁州市| 阿拉善左旗| 茌平县| 施甸县| 丽水市| 亚东县| 富源县| 衡东县| 荥阳市| 汝阳县| 舒城县| 凌云县| 邯郸县| 安庆市| 涞水县| 沙坪坝区| 曲松县| 宜春市| 建昌县| 张掖市| 巴林右旗| 时尚| 新田县| 西青区| 石台县| 镇坪县| 茶陵县| 九江市| 五河县| 探索| 红安县| 桦南县| 峨山| 岑溪市| 图们市| 武邑县|