null Summary A value intentionally indicating no value for the data. Syntax null Description null intentionally indicates that there is no value for the data. The expression null has its own type: null. By default, JS++ types are not nullable. In order to assign the null value, use nullable types: 12345int x = 1; // not nullableint? y = 1; // nullable // x = null; // errory = null; // ok Examples Basic Usage 1int? x = null; Assign null to represent "no data" 12345import System; class Pet {} Pet? pet = null; See Also undefined Share HTML | BBCode | Direct Link