C#, C♯, C#相談室 Part52at TECH
C#, C♯, C#相談室 Part52 - 暇つぶし2ch829:デフォルトの名無しさん
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