private static IComparable GetImplicitDefault(Type t) { if (t == typeof(string)) { return string.Empty; } else { return (IComparable)Activator.CreateInstance(t); } }