BucklingFactor(this cAnalysisResults obj) { int NumberResults; NumberResults = default(int); string[] LoadCase, StepType; LoadCase = StepType = default(string[]); double[] StepNum, Factor; StepNum = Factor = default(double[]); var res = obj.BucklingFactor(ref NumberResults, ref LoadCase, ref StepType, ref StepNum, ref Factor); return(NumberResults, LoadCase, StepType, StepNum, Factor); }