Possible Duplicate:
Nullable type as a generic parameter possible?
Is creating a C# generic method that accepts (nullable) value type and reference type possible?
In c# I would like to restrict my generic method to accept only nullable types. Is that possible?
public T Method<T>() where T : somesortofnullablerestriction
{
...
}