Tag Archives: null

Making an integer null

Although you often see an error message when trying to return null for an integer, it is possible to return a null value if you declare the integer specifically int? value = new int?(); if(value == null) { // something … Continue reading

Posted in Uncategorized | Tagged , , | Leave a comment