public static List<Point3d> Ak(List<Point3d> pp)
    {
       
    }    public static Point3dCollection Bk(Point3dCollection pp)
    {    }

解决方案 »

  1.   


            public static void Ak(ref T pp)   //T可以传Point3DCollection或者其它 
            {
            }
            //或者加个参数
            public static void Ak(T x,ref T pp)
            {
               
            }
    试试
      

  2.   


            public static void Ak<T>(T x,ref T pp)
            {
               
            }
           //或者加个参数
            public static void Ak<T>(ref T pp)
            {
            }应该这样
      

  3.   


                List<Point3D> _Point3D = new List<Point3D>();
                Ak(ref _Point3D);            Point3DCollection _3DCollection = new Point3DCollection();
                Ak(ref _3DCollection);
      

  4.   


    pulic static T AkOrBk<T>(T pp)
    {
        //do
        //return T type result
    }