GetLocalAxes(this cPointObj obj, string Name) { double A, B, C; A = B = C = default(double); bool Advanced; Advanced = default(bool); var res = obj.GetLocalAxes(Name, ref A, ref B, ref C, ref Advanced); return(A, B, C, Advanced); }