Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

Hello guys I just wanna ask what is the clear meaning or simple, of a iderator. Tia 😊💓

CrowCrow Member

Thankss...q

Best Answers

  • joachim747joachim747 Member
    Accepted Answer

    Sorry, did you mean iterator? In that case: simply put, it is a pointer which goes through a list. Imagine a for-loop. What it basically does it giving you an "iterator" which goes over every object of a list or similar.

  • WarpWarp Member
    edited May 23 Accepted Answer

    An iterator is effectively just an object/type that allows you to traverse a container.

    Examples of iteration:

    1. Using a for loop to search an array.
    2. Writing a function to search the hierarchy for objects.
    3. Foreach
    4. List.Contains() is an iterator.

Answers

Sign In or Register to comment.