GetAllAreas(this cAreaObj obj) { int NumberNames, NumberBoundaryPts; NumberNames = NumberBoundaryPts = default(int); string[] MyName, PointNames; MyName = PointNames = default(string[]); eAreaDesignOrientation[] DesignOrientation; DesignOrientation = default(eAreaDesignOrientation[]); int[] PointDelimiter; PointDelimiter = default(int[]); double[] PointX, PointY, PointZ; PointX = PointY = PointZ = default(double[]); var res = obj.GetAllAreas(ref NumberNames, ref MyName, ref DesignOrientation, ref NumberBoundaryPts, ref PointDelimiter, ref PointNames, ref PointX, ref PointY, ref PointZ); return(NumberNames, MyName, DesignOrientation, NumberBoundaryPts, PointDelimiter, PointNames, PointX, PointY, PointZ); }