E
E
Evgeny Safonov2020-07-06 01:17:53
C++ / C#
Evgeny Safonov, 2020-07-06 01:17:53

Who can describe in detail about the innumerable, ienumerator interfaces, re-read it 2 times, I don’t understand how to use it?

Cool, if you write a task how can I use these interfaces

Answer the question

In order to leave comments, you need to log in

2 answer(s)
D
Denis Bredun, 2020-07-06
@Luffy1

At this link you can find useful information about IEnumerable and IEnumerator. Everything is written in simple language.

I
Ilya Edrets, 2020-07-06
@ElijahCapricorn

In practice, IEnumerable is most often used in foreach loops to traverse collections and in conjunction with LINQ to transform collections.
As a practice, you can try to write your own implementation of the Select and Where methods from LINQ, they are very easy to reproduce and are well suited for mastering the skills of working with collections on the dotnet.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question