The following doesn\'t compile:
public void MyMethod(T value) { if (value == default(T)) { // do stuff } }
What about
object.Equals(value, default(T))