Enhanced C#
Language of your choice: library documentation
Properties | List of all members
Loyc.Collections.IMBRange< T > Interface Template Reference

A mutable bidirectional range. More...


Source file:
Inheritance diagram for Loyc.Collections.IMBRange< T >:
Loyc.Collections.IBRange< T > Loyc.Collections.IMFRange< T > Loyc.Collections.IFRange< T > Loyc.Collections.IMRange< T > Loyc.Collections.ArraySlice< T >

Remarks

A mutable bidirectional range.

This range lets you change the value of IMFRange<T>.First and Last.

Please see IFRange<T> for general documentation about ranges.

Properties

new T Last [get, set]
 Gets or sets the value of the last item in the range. More...
 
- Properties inherited from Loyc.Collections.IBRange< T >
Last [get]
 Returns the value of the last item in the range. More...
 
- Properties inherited from Loyc.Collections.IMFRange< T >
new T First [get, set]
 Gets or sets the value of the first item in the range. More...
 
- Properties inherited from Loyc.Collections.IFRange< T >
First [get]
 Returns the first value in the range, without popping it. More...
 

Additional Inherited Members

- Public Member Functions inherited from Loyc.Collections.IBRange< T >
PopLast (out bool fail)
 Removes the last item from the range and returns it. More...
 
- Public Member Functions inherited from Loyc.Collections.IFRange< T >
PopFirst (out bool fail)
 Removes the first item from the range and returns it. More...
 

Property Documentation

◆ Last

new T Loyc.Collections.IMBRange< T >.Last
getset

Gets or sets the value of the last item in the range.

Exceptions
EmptySequenceExceptionThe sequence is empty.