public static new Contact ot_dynamic_cast(Storable pObject) { IntPtr cPtr = otapiPINVOKE.Contact_ot_dynamic_cast(Storable.getCPtr(pObject)); Contact ret = (cPtr == IntPtr.Zero) ? null : new Contact(cPtr, false); return ret; }