[]
Represent a range in one-dimension which is defined by the start index and end index.
public struct LinearRange : IComparable<LinearRange>
Public Structure LinearRange
Implements IComparable(Of LinearRange)
Name | Description |
---|---|
LinearRange(int, int) | Initializes a new instance of the LinearRange struct. |
Name | Description |
---|---|
Empty | Represents a LinearRange structure with its properties left uninitialized. |
End | The end index of range. |
Start | The start index of range. |
Name | Description |
---|---|
Length | Gets the length. |
Name | Description |
---|---|
CompareTo(LinearRange) | Compares the current object with another object of the same type. |
Equals(object) | Determines whether the specified object is equal to this instance. |
GetHashCode() | Returns a hash code for this instance. |
Name | Description |
---|---|
operator ==(LinearRange, LinearRange) | Implements the operator ==. |
operator !=(LinearRange, LinearRange) | Implements the operator !=. |