IList<TValue>.front IList<TValue>.front IList<TValue>.front IList<TValue>.front Method

Definition

Accesses the first element of the container.

public:
 TValue % front();
public TValue front ();
abstract member front : unit -> 
Public Function front () As TValue

Returns

The first element of the controlled sequence, which must be non-empty.

Remarks

For more information, see list::front (STL/CLR).

Applies to