GetNameList(this cAreaObj obj) { int NumberNames; NumberNames = default(int); string[] MyName; MyName = default(string[]); var res = obj.GetNameList(ref NumberNames, ref MyName); return(NumberNames, MyName); }