C#, C♯, C#相談室 Part52 at TECH
[2ch|▼Menu]
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