よく使われるメソッド
よく使われるメソッド
よく使われるメソッド
よく使われるメソッド
public int CompareTo(object obj) { var other = (Period)obj; return(Delta.CompareTo(other.Delta)); }//no null handling as struct can't be null
public int CompareTo(object obj) { var other = (Period)obj; return(Delta.CompareTo(other.Delta)); }//no null handling as struct can't be null