C#:
IEnumerable<T> enumer;
public List( IEnumerable<T> list )
{
this.enumer = list.GetEnumerator(); //<========*** It is IEnumerable<T> list Type. ***
}
public bool Read()
{
return enumer.MoveNext();
}
public bool Front()
{
return enumer.MoveFront(); //<========**** In IEnumerable<T> list ***, There is the opposite of MoveNext()
}
What is the function that moves to the front in IEnumerable<T> list Type
the opposite of MoveNext() in IEnumerable<T> list Type
Last edited: