value = null;
System.Diagnostics.Debug.Assert(value == null);
or
int? value = 5;
value = null;
System.Diagnostics.Debug.Assert(value == null);
Clear and easy, doesn't it? :)
A few words about me, things I'm interested in and other more or less useful things...