Does anybody know how to get the array size of a pointsArray in C#?
I found examples in vb doing this with the UBound function, but this function is not available in C#.
Is it not .GetUpperBound for one dim arrays and .GetUpperBound(0) for 2D arrays?
That's it! Thank you. I did not find it because I did not cast the result of MGCPCB.IMGCPCBGeometriy.get_PointsArray() to Array.
Array pts = (Array)geo.get_PointsArray(MGCPCB.EPcbUnit.epcbUnitCurrent);
Retrieving data ...