Now that we have talked about “Enumerable” .Lets talk about “Enumerator”.
Enumerable is a data structures that can be iterated, counted or enumerated. Array, List, Dictionary are some data…