Пример #1
0
 public static IEnumerable <sbyte> SByte(sbyte from, sbyte to, int step)
 {
     return(Range.Int32(from, to, step).Select(i => (sbyte)i));
 }
Пример #2
0
 public static IEnumerable <ushort> UInt16(ushort from, ushort to, int step)
 {
     return(Range.Int32(from, to, step).Select(i => (ushort)i));
 }
Пример #3
0
 public static IEnumerable <int> Int32(int from, int to)
 {
     return(Range.Int32(from, to, 1));
 }
Пример #4
0
 public static IEnumerable <char> Char(char from, char to, int step)
 {
     return(Range.Int32(from, to, step).Select(i => (char)i));
 }