Exemplo n.º 1
0
 public static IEnumerable <sbyte> SByte(sbyte from, sbyte to, int step)
 {
     return(Range.Int32(from, to, step).Select(i => (sbyte)i));
 }
Exemplo n.º 2
0
 public static IEnumerable <ushort> UInt16(ushort from, ushort to, int step)
 {
     return(Range.Int32(from, to, step).Select(i => (ushort)i));
 }
Exemplo n.º 3
0
 public static IEnumerable <int> Int32(int from, int to)
 {
     return(Range.Int32(from, to, 1));
 }
Exemplo n.º 4
0
 public static IEnumerable <char> Char(char from, char to, int step)
 {
     return(Range.Int32(from, to, step).Select(i => (char)i));
 }