GetPier(this cAreaObj obj, string Name) { string PierName; PierName = default(string); var res = obj.GetPier(Name, ref PierName); return(PierName); }