GetEnumerator( ) of Ienumerable interface returns

A) Ienumerator
B) Icollection
C) Ienumerable

Showing Answers 1 - 4 of 4 Answers

desi

  • Jan 6th, 2006
 

returns enumerator

  Was this answer useful?  Yes

Khaja

  • Sep 23rd, 2006
 

The foreach loop automatically uses the IEnumerable<T> interface, invoking GetEnumerator( ).

The GetEnumerator method is declared to return an IEnumerator of string:

public IEnumerator<string> GetEnumerator( )

  Was this answer useful?  Yes

Give your answer:

If you think the above answer is not correct, Please select a reason and add your answer below.

 

Related Answered Questions

 

Related Open Questions