have you trieddouble[2][4] points?

解决方案 »

  1.   

    《c#技术揭秘》里面有阐述com
      

  2.   

    to saucer:
    这是二维数组了,更加不匹配了吧,我记得我试过,不过周一会重新尝试一次的。to LuZhou:
    能不能简单的说一下相关章节的概要。谢谢上面两位。
      

  3.   

    to saucer:
    之前是我理解错了。
    改用了你建议的方法,定义为Double[][],但是一样会产生异常,不过异常的描述与以前不同,为“Special array was not of the expected type.”。以前的异常描述是“Expection has been thrown by the target of an invocation.”。
    似乎现在更加接近正确答案,不过无论我改用Int32[][],还是Int16[][],都是“not expected type”。
    我就是不知道该对应什么类型,还有没有其他的建议呢?非常感谢。
      

  4.   

    I assume you have trieddouble[][] d = new double[][]{new double[]{10,40},new double[]{200,200}};
    what about (Point is from System.Drawing)
    Point[] ps = new Point[]{new Point(10,40),new Point(200,200)};?
      

  5.   

    谢谢saucer兄的热心。
    我所提的这个问题可能是比较特殊的,我找到了解决的办法。如下:
    Object[] objArray = new Object[2];
    objArray[0] = new Single[] {100,100};
    objArray[1] = new Single[] {200,200};
    就可以了,有点摸到门道了。Array of Array已经搞定了,现在正在解决Array of Arrays。
    唉!
      

  6.   

    http://www.csharphelp.com/archives/archive281.html