Nullable types in C# 2.0

Here is the Microsoft explanation.
Basically you can declare any value type as nullable by using the syntax <type>?.
Example: int? x=null;
There is even a nice operator ?? that acts like the SQL isnull function.
Example: int y=x ?? 0;
The two above examples are the short for the following:
System.Nullable
int y=x==null?0:x.Value; int y=x.HasValue?x.Value:0; OR int y=x.GetValueOrDefault(0)
- The Nullable type has some nice methods:
- GetValueOrDefault([value]) - gets the default value or the specified value when the nullable type is null
- HasValue() - something like is not null
There is no IsNull method to the Nullable type. Also, x=null makes x==null true, as opposed to, let's say, the SqlInt32 type.