C# Class System.Range

显示文件 Open project: mikedn/runtime Class Usage Examples

Public Methods

Method Description
Equals ( object? value ) : bool

Indicates whether the current Range object is equal to another object of the same type.

Range ( Index start, Index end ) : System.Diagnostics

Construct a Range object using the start and end indexes.

Method Details

Equals() public method

Indicates whether the current Range object is equal to another object of the same type.
public Equals ( object? value ) : bool
value object? An object to compare with this object
return bool

Range() public method

Construct a Range object using the start and end indexes.
public Range ( Index start, Index end ) : System.Diagnostics
start Index Represent the inclusive start index of the range.
end Index Represent the exclusive end index of the range.
return System.Diagnostics