GetPoints(this cAreaObj obj, string Name) { int NumberPoints; NumberPoints = default(int); string[] Point; Point = default(string[]); var res = obj.GetPoints(Name, ref NumberPoints, ref Point); return(NumberPoints, Point); }