IsNullOrDefault generic helper function for nullable types
- by Michael Freidgeim
I've wrote IsNullOrDefault generic helper function
public static bool IsNullOrDefault<T>(this Nullable<T> param) where T : struct
{
T deflt = default(T);
if (!param.HasValue)
…