Nullable Value Types

Store "no value yet" in an int?, decimal? or bool?, check it with HasValue or null before you read it, and write an optional parameter that a call can leave out.

By

Updated

Cheat sheet: Nullable Value Types
Category
C#
Level
Apprentice
Tags
c-sharp, Null Value, Nullable Value Type, Optional Parameter