Example #1
0
 public static IEnumerable <sbyte> SByte(sbyte from, sbyte to, int step)
 {
     return(Range.Int32(from, to, step).Select(i => (sbyte)i));
 }
Example #2
0
 public static IEnumerable <decimal> Decimal(decimal from, decimal to)
 {
     return(Range.Decimal(from, to, 1.0m));
 }
Example #3
0
 public static IEnumerable <DateTime> DateTime(DateTime from, DateTime to)
 {
     return(Range.DateTime(from, to, 1.0));
 }
Example #4
0
 public static IEnumerable <float> Single(float from, float to)
 {
     return(Range.Single(from, to, 1.0f));
 }
Example #5
0
 public static IEnumerable <double> Double(double from, double to)
 {
     return(Range.Double(from, to, 1.0));
 }
Example #6
0
 public static IEnumerable <long> Int64(long from, long to)
 {
     return(Range.Int64(from, to, 1L));
 }
Example #7
0
 public static IEnumerable <ulong> UInt64(ulong from, ulong to)
 {
     return(Range.UInt64(from, to, 1UL));
 }
Example #8
0
 public static IEnumerable <int> Int32(int from, int to)
 {
     return(Range.Int32(from, to, 1));
 }
Example #9
0
 public static IEnumerable <uint> UInt32(uint from, uint to)
 {
     return(Range.UInt32(from, to, 1U));
 }
Example #10
0
 public static IEnumerable <ushort> UInt16(ushort from, ushort to)
 {
     return(Range.UInt16(from, to, 1));
 }
Example #11
0
 public static IEnumerable <ushort> UInt16(ushort from, ushort to, int step)
 {
     return(Range.Int32(from, to, step).Select(i => (ushort)i));
 }
Example #12
0
 public static IEnumerable <short> Int16(short from, short to)
 {
     return(Range.Int16(from, to, 1));
 }
Example #13
0
 public static IEnumerable <char> Char(char from, char to)
 {
     return(Range.Char(from, to, 1));
 }
Example #14
0
 public static IEnumerable <byte> Byte(byte from, byte to)
 {
     return(Range.Byte(from, to, 1));
 }
Example #15
0
 public static IEnumerable <sbyte> SByte(sbyte from, sbyte to)
 {
     return(Range.SByte(from, to, 1));
 }
Example #16
0
 public static IEnumerable <char> Char(char from, char to, int step)
 {
     return(Range.Int32(from, to, step).Select(i => (char)i));
 }