Managed C++中使用Nullable<T> 非null值表示和C#的用法一样。 Nullable<int> a = 1; null值的表示: Nullable<int> a = Nullable<int>();