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