Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR CSHARP

add getenumerator to class c#

public bool MoveNext()
{
      position++;         
      return (position < carlist.Length);      
}      
public void Reset() => position = 0;
public object Current {         
       get { return carlist[position];}      
}
 
PREVIOUS NEXT
Tagged: #add #getenumerator #class
ADD COMMENT
Topic
Name
1+4 =