コード例 #1
0
 public static Int32 BetweenOrDefault(this Int32 num, Int32 lower, Int32 upper, Boolean inclusive = false)
 {
     return(num.Between(lower, upper, inclusive) ? num : default(Int32));
 }