| ByteTypeHelperRange Method (Byte, Byte, Byte) |
Adds a chunk of numeric values
Namespace:
SmartTests.Ranges
Assembly:
SmartTests (in SmartTests.dll) Version: 1.12.0
Syntax public static INumericType<byte> Range(
this byte _,
byte min,
byte max
)
<ExtensionAttribute>
Public Shared Function Range (
_ As Byte,
min As Byte,
max As Byte
) As INumericType(Of Byte)
public:
[ExtensionAttribute]
static INumericType<unsigned char>^ Range(
unsigned char _,
unsigned char min,
unsigned char max
)
[<ExtensionAttribute>]
static member Range :
_ : byte *
min : byte *
max : byte -> INumericType<byte>
Parameters
- _
- Type: SystemByte
A byte we do not care about, except to know to create a INumericTypeT for byte. - min
- Type: SystemByte
The min value (included) of the chunk. - max
- Type: SystemByte
The max value (included) of the chunk.
Return Value
Type:
INumericTypeByteReturn a new
INumericTypeT for byte so that adding chunks can be chained.
Usage Note
In Visual Basic and C#, you can call this method as an instance method on any object of type
Byte. When you use instance method syntax to call this method, omit the first parameter. For more information, see
Extension Methods (Visual Basic) or
Extension Methods (C# Programming Guide).
See Also