public static ICustomSerializable Load(BinaryReader reader) { string FullName = reader.ReadString(); Type newT = Type.GetType(FullName); ICustomSerializable c = (ICustomSerializable)Activator.CreateInstance(newT, null); c.SetObjectData(reader); return(c); }