C#, C♯, C#相談室 Part52
at TECH
829:デフォルトの名無しさん
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;
}
}
次ページ続きを表示1を表示最新レス表示スレッドの検索類似スレ一覧話題のニュースおまかせリスト▼オプションを表示暇つぶし2ch
4322日前に更新/229 KB
担当:undef