Operator implicit operator
implicit operator Range(int)
Returns a range from an int value
Declaration
public static implicit operator Range(int value)
Parameters
| Type | Name | Description |
|---|---|---|
| int | value | The value that needs to be converted |
Returns
| Type | Description |
|---|---|
| Range | Returns the int value converted to a Range |
implicit operator int(Range)
Returns the value of this range as a int
Declaration
public static implicit operator int(Range value)
Parameters
| Type | Name | Description |
|---|---|---|
| Range | value | The value that needs to be converted |
Returns
| Type | Description |
|---|---|
| int | Returns the Range value converted to an int |