Example #1
0
 public static eRat GetNextEnumValueOf(eRat value)
 {
     return((from eRat val in Enum.GetValues(typeof(eRat))
             where val > value
             orderby val
             select val).Take(1).ToArray()[0]);
 }
 public static eRat GetNextEnumValueOf(eRat value)
 {
     return((from eRat val in Enum.GetValues(typeof(eRat))
             where val > value
             orderby val
             select val).First());
 }