09/06/09 10:07:12
>>826
ごめんPoint型のSizeは盲点だった
public struct Cube {
private int width, height, length;
public int Width { get { return this.width; } }
public int Height { get { return this.height; } }
public int Length { get { return this.length; } }
public Cube(int width, int height, int length) {
this.width = width;
this.height = height;
this.length = length;
}
}