2013-01-01 C#での範囲指定いろいろ http://stackoverflow.com/questions/1137499/determine-if-a-number-falls-within-a-specified-set-of-ranges拡張メソッドとかもあるね