public static extern float GetRight([In] Rect target); public static extern float GetTop([In] Rect target);