I\'m trying the following:
T value1 = el.value; // it\'s of type T already T value2 = default(T); if (value1 != value2) // gives the following error: Operato
try
Equals(value1, value2)
A good way of avoiding null ref's