Pergunta de entrevista da empresa Fiserv

What is extention method in C#? What is anonymous methods in C#? -Delegate What is the difference between IEnnumerable and Enumerator?

Resposta da entrevista

Sigiloso

17 de abr. de 2016

Diff: The only difference is related to current cursor possition otherwise both use to iterate through collection. IEnumerator returns the current cursor possition (IEnumerator.Current) while IEnumerable has one method GetEnumerator which intern return IEnumerator.