Q: How to get the default value of a type? return default(myObj.GetType()) does not work.

A: Forums Say...

My Solution

public static object DefaultValueOfType(Type t)
{
    return t.IsValueType ? Activator.CreateInstance(t) : null;
}