Enumerable is a data structures that can be iterated, counted or enumerated. Array, List, Dictionary are some data…