GetSelectedEdge(this cAreaObj obj, string Name) { int NumberEdges; NumberEdges = default(int); bool[] Selected; Selected = default(bool[]); var res = obj.GetSelectedEdge(Name, ref NumberEdges, ref Selected); return(NumberEdges, Selected); }